diff options
| author | Jamie Macey | 2010-10-25 21:12:41 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-10-30 14:47:44 -0700 | 
| commit | 1e41264f420b9ac5d8864e162d00ccfaa2020662 (patch) | |
| tree | b58ed0084521a41b90718dddefc055c3652e43b8 /Library/Homebrew/extend/string.rb | |
| parent | c61204eb1ebc3d6f53dff9833796708ce3397d53 (diff) | |
| download | brew-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.rb | 2 | 
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  | 
