aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tab.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-26 11:58:09 -0500
committerJack Nagel2014-12-26 11:58:09 -0500
commitdd900302139d106f3008950ac0bd2bd71f66ddf5 (patch)
tree697dd4253b3e2cae191b22add86c9867d006a2b2 /Library/Homebrew/tab.rb
parentc50fdbd139439576318460d12c98ba007f28becd (diff)
downloadbrew-dd900302139d106f3008950ac0bd2bd71f66ddf5.tar.bz2
Fix "possible reference to past scope" warnings on 2.2
Diffstat (limited to 'Library/Homebrew/tab.rb')
-rw-r--r--Library/Homebrew/tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 29836365b..135a5dcfc 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -45,7 +45,7 @@ class Tab < OpenStruct
def self.remap_deprecated_options deprecated_options, options
deprecated_options.each do |deprecated_option|
- option = options.find {|option| option.name == deprecated_option.old }
+ option = options.find { |o| o.name == deprecated_option.old }
next unless option
options -= [option]
options << Option.new(deprecated_option.current, option.description)