Class: GQL::Scalar

Inherits:
Field
  • Object
show all
Defined in:
lib/gql/scalar.rb

Direct Known Subclasses

Boolean, Number, String

Instance Attribute Summary

Attributes inherited from Field

#ast_node, #context, #target, #variables

Instance Method Summary collapse

Methods inherited from Field

build_class, execute, #initialize, #value

Methods included from Mixins::Common

#propagate, #shutdown

Constructor Details

This class inherits a constructor from GQL::Field

Instance Method Details

#scalar_valueObject



3
4
5
# File 'lib/gql/scalar.rb', line 3

def scalar_value
  target
end