aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2015-01-04 21:37:27 -0500
committerJack Nagel2015-01-04 21:37:27 -0500
commit6d4fe186592d511237f4147f070643da58eb3a37 (patch)
treef08acc1db72d00bfeaeb5c834e08b55fcc20da7e /Library/Homebrew/cmd
parent2f40ded239362cb0990a5203cd34bf755c805945 (diff)
downloadhomebrew-6d4fe186592d511237f4147f070643da58eb3a37.tar.bz2
Forward arguments in IRB formula helpers
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/irb.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/irb.rb b/Library/Homebrew/cmd/irb.rb
index b7832c492..3e6102dd2 100644
--- a/Library/Homebrew/cmd/irb.rb
+++ b/Library/Homebrew/cmd/irb.rb
@@ -3,13 +3,13 @@ require 'keg'
require 'irb'
class Symbol
- def f
- Formulary.factory(to_s)
+ def f(*args)
+ Formulary.factory(to_s, *args)
end
end
class String
- def f
- Formulary.factory(self)
+ def f(*args)
+ Formulary.factory(self, *args)
end
end