aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-04 03:53:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-04 03:53:43 +0000
commitdf091c5cb9d13c7bdd0940b1c50d4459df8ef299 (patch)
tree193cb19cc2092800c0015d088f3368518d38c6f1 /test/ruby/test_rubyoptions.rb
parent5a90f9e8f84533e7859232895fc4bbe6b31cc771 (diff)
downloadruby-df091c5cb9d13c7bdd0940b1c50d4459df8ef299.tar.gz
ruby.c: remove a magic number
* ruby.c (load_file_internal): remove a magic number, which means the length of ruby_engine but the value is unknown in this file since the variable is in a different file now. instead, strstr should deal with it well, as far as ruby_engine does not contain a space and a hyphen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions