mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
70a7a7271d
commit
cadfea8999
3 changed files with 14 additions and 2 deletions
|
@ -94,6 +94,11 @@ module DRbCore
|
|||
assert_equal(6, @there.sample(onecky, 1, 2))
|
||||
ary = @there.to_a
|
||||
assert_kind_of(DRb::DRbObject, ary)
|
||||
|
||||
assert(@there.respond_to?(:to_a, true))
|
||||
assert(@there.respond_to?(:eval, true))
|
||||
assert(! @there.respond_to?(:eval, false))
|
||||
assert(! @there.respond_to?(:eval))
|
||||
end
|
||||
|
||||
def test_01_02_loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue