Class: GraphQL::Execution::Interpreter::RawValue

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/execution/interpreter/handles_raw_value.rb

Overview

Wrapper for raw values

Instance Method Summary collapse

Constructor Details

#initialize(obj = nil) ⇒ 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

#resolveObject


12
13
14
# File 'lib/graphql/execution/interpreter/handles_raw_value.rb', line 12

def resolve
  @object
end