mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
irb: pass strings to factory, not symbols
This commit is contained in:
parent
3dd2715ec8
commit
ad320c96fd
@ -4,7 +4,7 @@ require 'irb'
|
||||
|
||||
class Symbol
|
||||
def f
|
||||
Formula.factory(self)
|
||||
Formula.factory(self.to_s)
|
||||
end
|
||||
end
|
||||
class String
|
||||
|
Loading…
x
Reference in New Issue
Block a user