aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2014-12-06 11:27:17 +0000
committerMike McQuaid2014-12-08 12:41:51 +0000
commit801983ae5499cbfa5322cd9d0282448dd5dba0e4 (patch)
tree207b0cc0632eed07bdb582a1982d102b6d252b5c /Library/Homebrew
parentc02da2cdd73ac0de5f8d7ea64ddc6e0a74eb968c (diff)
downloadhomebrew-801983ae5499cbfa5322cd9d0282448dd5dba0e4.tar.bz2
formula.rb: make some methods private.
Don't seem to be used publicly anywhere. Closes #34729.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula.rb4
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