lib/kind/try.rb in kind-4.0.0 vs lib/kind/try.rb in kind-4.1.0
- old
+ new
@@ -9,11 +9,9 @@
call!(object, args.shift, args)
end
def self.[](*args)
- Array[args]
-
method_name = args.shift
->(object) { call!(object, method_name, args) }
end