Method: GraphQL::Query::Result#method_missing
- Defined in:
- lib/graphql/query/result.rb
#method_missing(method_name, *args, &block) ⇒ Object
Delegate any hash-like method to the underlying hash.
27 28 29 30 31 32 33 |
# File 'lib/graphql/query/result.rb', line 27 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 |