* benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
with ruby 1.9.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8fbffe61cc
commit
1db64a2035
@ -1,3 +1,8 @@
|
||||
Thu Jun 20 17:24:24 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
|
||||
with ruby 1.9.3.
|
||||
|
||||
Thu Jun 20 16:57:19 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/bm_app_aobench.rb: use attr_accessor/reader instead of
|
||||
|
@ -2,7 +2,7 @@
|
||||
require 'benchmark'
|
||||
require 'pp'
|
||||
|
||||
script = File.join(__dir__, ARGV.shift)
|
||||
script = File.join(File.dirname(__FILE__), ARGV.shift)
|
||||
script += '.rb' unless FileTest.exist?(script)
|
||||
raise "#{script} not found" unless FileTest.exist?(script)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user