aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/string.rb
diff options
context:
space:
mode:
authorJamie Macey2010-10-25 21:12:41 -0700
committerAdam Vandenberg2010-10-30 14:47:44 -0700
commit1e41264f420b9ac5d8864e162d00ccfaa2020662 (patch)
treeb58ed0084521a41b90718dddefc055c3652e43b8 /Library/Homebrew/extend/string.rb
parentc61204eb1ebc3d6f53dff9833796708ce3397d53 (diff)
downloadbrew-1e41264f420b9ac5d8864e162d00ccfaa2020662.tar.bz2
fix warnings: ambiguous first arg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Homebrew/extend/string.rb')
-rw-r--r--Library/Homebrew/extend/string.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/string.rb b/Library/Homebrew/extend/string.rb
index ddc5fdf7f..23fea8b2c 100644
--- a/Library/Homebrew/extend/string.rb
+++ b/Library/Homebrew/extend/string.rb
@@ -1,5 +1,5 @@
class String
def undent
- gsub /^.{#{slice(/^ +/).length}}/, ''
+ gsub(/^.{#{slice(/^ +/).length}}/, '')
end
end