(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:
seki 2005-02-19 09:14:55 +00:00
parent 70a7a7271d
commit cadfea8999
3 changed files with 14 additions and 2 deletions

View file

@ -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