aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-23 13:05:06 -0700
committerAdam Vandenberg2013-06-23 13:07:55 -0700
commitd038bfa1c2a177fe0cb77e33805114d32b278811 (patch)
tree184775ec604bf6aac516b3e3257c2ccd2c005063 /Library
parent61f0054ffa77725302b3ac3ed6e0a1856d82c44a (diff)
downloadhomebrew-d038bfa1c2a177fe0cb77e33805114d32b278811.tar.bz2
irb: pass strings to factory, not symbols
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/irb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/irb.rb b/Library/Homebrew/cmd/irb.rb
index 76e7e5569..aa501e7f3 100644
--- a/Library/Homebrew/cmd/irb.rb
+++ b/Library/Homebrew/cmd/irb.rb
@@ -4,7 +4,7 @@ require 'irb'
class Symbol
def f
- Formula.factory(self)
+ Formula.factory(self.to_s)
end
end
class String