mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 18:13:58 +02:00
* vm_method.c (rb_method_boundp): revert r28543, r28564.
They may be merged in Ruby 2.0. [ruby-core:31217] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5647b2cd88
commit
ad717fa7e6
3 changed files with 17 additions and 13 deletions
|
@ -371,7 +371,7 @@ class TestMethod < Test::Unit::TestCase
|
|||
|
||||
assert_equal(true, respond_to?(:mv1))
|
||||
assert_equal(false, respond_to?(:mv2))
|
||||
assert_equal(false, respond_to?(:mv3))
|
||||
assert_equal(true, respond_to?(:mv3))
|
||||
|
||||
assert_equal(true, respond_to?(:mv1, true))
|
||||
assert_equal(true, respond_to?(:mv2, true))
|
||||
|
@ -393,7 +393,7 @@ class TestMethod < Test::Unit::TestCase
|
|||
|
||||
assert_equal(true, v.respond_to?(:mv1))
|
||||
assert_equal(false, v.respond_to?(:mv2))
|
||||
assert_equal(false, v.respond_to?(:mv3))
|
||||
assert_equal(true, v.respond_to?(:mv3))
|
||||
|
||||
assert_equal(true, v.respond_to?(:mv1, true))
|
||||
assert_equal(true, v.respond_to?(:mv2, true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue