lib/graphql/query/result.rb
def method_missing(method_name, *args, &block)
        if @to_h.respond_to?(method_name)
          @to_h.public_send(method_name, *args, &block)
        else
          super
        end
      end
# Delegate any hash-like method to the underlying hash.
Delegate any hash-like method to the underlying hash.
Delegate any hash - like method to the underlying hash .
def method_missing(method_name, *args, &block)
        if @to_h.respond_to?(method_name)
          @to_h.public_send(method_name, *args, &block)
        else
          super
        end
      end
def method_missing ( method_name , * args , & block ) if @to_h . respond_to? ( method_name ) @to_h . public_send ( method_name , * args , & block ) else super end end
Delegate any hash-like method to the underlying hash.
Delegate any hash - like method to the underlying hash .
method_name
args
block