formula.rb: make some methods private.

Don't seem to be used publicly anywhere.

Closes Homebrew/homebrew#34729.
This commit is contained in:
Mike McQuaid 2014-12-06 11:27:17 +00:00
parent e7497e33c0
commit d09727ae4a

View File

@ -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