diff options
| author | Mike McQuaid | 2014-12-06 11:27:17 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-08 12:41:51 +0000 |
| commit | d09727ae4af90783646b471f5bccca40fbb671f0 (patch) | |
| tree | edfb5f70c3c61ab70e726afc8033c0ffbd48acad /Library | |
| parent | e7497e33c0b02c0290721be7075b0c0473459d65 (diff) | |
| download | brew-d09727ae4af90783646b471f5bccca40fbb671f0.tar.bz2 | |
formula.rb: make some methods private.
Don't seem to be used publicly anywhere.
Closes Homebrew/homebrew#34729.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
