require '-test-/method' require 'test/unit' class TestMethod < Test::Unit::TestCase class TestArity < Test::Unit::TestCase class A def foo0() end def foom1(*a) end def foom2(a,*b) end def foo1(a) end def foo2(a,b) end end class B