Class: GraphQL::Execution::Interpreter::RawValue
- Inherits:
- 
      Object
      
        - Object
- GraphQL::Execution::Interpreter::RawValue
 
- Defined in:
- lib/graphql/execution/interpreter/handles_raw_value.rb
Overview
Wrapper for raw values
Instance Method Summary collapse
- 
  
    
      #initialize(obj = nil)  ⇒ RawValue 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RawValue. 
- 
  
    
      #resolve  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Constructor Details
#initialize(obj = nil) ⇒ RawValue
Returns a new instance of RawValue.
| 8 9 10 | # File 'lib/graphql/execution/interpreter/handles_raw_value.rb', line 8 def initialize(obj = nil) @object = obj end | 
Instance Method Details
#resolve ⇒ Object
| 12 13 14 | # File 'lib/graphql/execution/interpreter/handles_raw_value.rb', line 12 def resolve @object end |