From 8beb85a7fc022723a39562d7ae7b4c4b62659eb5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 10 Aug 2014 22:24:25 -0500 Subject: options.each only yields one argument to the block --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 3c7dec8e5..9e26a78be 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -461,7 +461,7 @@ class FormulaInstaller when f.devel then args << "--devel" end - f.options.each do |opt, _| + f.options.each do |opt| name = opt.name[/\A(.+)=\z$/, 1] value = ARGV.value(name) args << "--#{name}=#{value}" if name && value -- cgit v1.2.3