From d09727ae4af90783646b471f5bccca40fbb671f0 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 6 Dec 2014 11:27:17 +0000 Subject: formula.rb: make some methods private. Don't seem to be used publicly anywhere. Closes Homebrew/homebrew#34729. --- Library/Homebrew/formula.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9554c424c..78e2dcf93 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -98,6 +98,8 @@ class Formula @pin = FormulaPin.new(self) end + private + def set_spec(name) spec = self.class.send(name) if spec.url @@ -119,6 +121,8 @@ class Formula end end + public + def stable? active_spec == stable end -- cgit v1.2.3