diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 06:28:23 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 06:28:23 +0000 |
commit | a10ded3ba0f6da6b4f881cd23858aef3d9eb5f29 (patch) | |
tree | 463ad4ea26443ca63f2cb58844b03531b756282a /bootstraptest/runner.rb | |
parent | 40d8d38909fe15a96887f4097d95d7323fc93fb7 (diff) | |
download | ruby-a10ded3ba0f6da6b4f881cd23858aef3d9eb5f29.tar.gz |
* bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
test/ruby/test_stringchar.rb: fixes arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/runner.rb')
-rw-r--r-- | bootstraptest/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 72840c4fa9..b5237c21f5 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -264,7 +264,7 @@ def adjust_indent(src) end def untabify(str) - str.gsub(/^\t+/) {|tabs| ' ' * (8 * tabs.size) } + str.gsub(/^\t+/) {' ' * (8 * $&.size) } end def make_srcfile(src) |