lib/invokr/builder.rb in invokr-0.1.0 vs lib/invokr/builder.rb in invokr-0.9.0

- old
+ new

@@ -109,11 +109,12 @@ return if missing_args.empty? raise MissingArgumentsError.new self, missing_args end def optional_arg_error! identifier + name = method.respond_to?(:name) ? method.name : 'anonymous' raise OptionalPositionalArgumentError.new( - method.name, + name, @opt_arg_name, identifier, ) end