aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2013-12-09 15:15:53 -0600
committerJack Nagel2013-12-09 15:15:53 -0600
commit5e0a8668fb623aab76670adf3f277f8d1c676d96 (patch)
treef6127c9a8a09b78c8157eac5b47a11ff5b4f1fc9 /Library/Homebrew/extend
parentbac053673017e961f949ecd390c465e339b1c425 (diff)
downloadbrew-5e0a8668fb623aab76670adf3f277f8d1c676d96.tar.bz2
Silence more warnings
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index 57d07c637..1afc94a0d 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -28,6 +28,7 @@ module Superenv
# done on the singleton class, because in MRI all ENV methods are defined
# on its singleton class, precluding the use of extend.
class << base
+ alias_method :"old_[]", :[]
def [] key
if has_key? key
fetch(key)