Class: GraphQL::Execution::Interpreter::Runtime::CurrentState Private

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCurrentState

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of CurrentState.



12
13
14
15
16
17
18
# File 'lib/graphql/execution/interpreter/runtime.rb', line 12

def initialize
  @current_object = nil
  @current_field = nil
  @current_arguments = nil
  @current_result_name = nil
  @current_result = nil
end

Instance Attribute Details

#current_argumentsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20

def current_arguments
  @current_arguments
end

#current_fieldObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20

def current_field
  @current_field
end

#current_objectObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20

def current_object
  @current_object
end

#current_resultObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20

def current_result
  @current_result
end

#current_result_nameObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/graphql/execution/interpreter/runtime.rb', line 20

def current_result_name
  @current_result_name
end