mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
* test/ruby/envutil.rb: fix the check if instance method `ruby' is
defined or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34bcba57a9
commit
1d415019bd
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jan 25 21:43:05 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/envutil.rb: fix the check if instance method `ruby' is
|
||||
defined or not.
|
||||
|
||||
Mon Jan 25 21:17:32 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_rubyoptions.rb (test_segv_test): add a test for
|
||||
|
|
|
@ -208,7 +208,7 @@ else
|
|||
module RbConfig
|
||||
@ruby = EnvUtil.rubybin
|
||||
class << self
|
||||
undef ruby if defined?(ruby)
|
||||
undef ruby if instance_methods.include?(:ruby)
|
||||
attr_reader :ruby
|
||||
end
|
||||
dir = File.dirname(ruby)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue