lib/core/facets/unboundmethod/arguments.rb in facets-2.4.5 vs lib/core/facets/unboundmethod/arguments.rb in facets-2.5.0

- old
+ new

@@ -14,10 +14,10 @@ # bar_method = X.instance_method(:bar) # bar_method.arguments #=> "a0, *args" # # When defaults are used the arguments must end in "*args". # - # CREDIT: Trans + # CREDIT: Trans def arguments ar = arity case ar <=> 0 when 1