formula.rb: make some methods private.
Don't seem to be used publicly anywhere. Closes Homebrew/homebrew#34729.
This commit is contained in:
parent
e7497e33c0
commit
d09727ae4a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user