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

- old
+ new

@@ -11,10 +11,10 @@ # # meth = X.instance_method(:foo) # # meth.name #=> "foo" # - # CREDIT: Trans + # CREDIT: Trans def name i = to_s.rindex('#') to_s.slice(i+1...-1) end