diff options
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 |
