lib/graphql/execution/interpreter/arguments.rb in graphql-1.10.10 vs lib/graphql/execution/interpreter/arguments.rb in graphql-1.10.11
- old
+ new
@@ -19,18 +19,14 @@
def initialize(keyword_arguments:, argument_values:)
@keyword_arguments = keyword_arguments
@argument_values = argument_values
end
- # Yields `ArgumentValue` instances which contain detailed metadata about each argument.
- def each_value
- argument_values.each { |arg_v| yield(arg_v) }
- end
-
# @return [Hash{Symbol => ArgumentValue}]
attr_reader :argument_values
def_delegators :@keyword_arguments, :key?, :[], :keys, :each, :values
+ def_delegators :@argument_values, :each_value
def inspect
"#<#{self.class} @keyword_arguments=#{keyword_arguments.inspect}>"
end
end