summaryrefslogtreecommitdiff
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_method.rb18
1 files changed, 18 insertions, 0 deletions
@@ -1241,6 +1241,24 @@ class TestMethod < Test::Unit::TestCase
assert_raise_with_message(NoMethodError, /super: no superclass method `foo'/) { unbound.bind_call(obj) }
end
def rest_parameter(*rest)
rest
end