Class: Graphlyte::Syntax::Literal
- Inherits:
-
Struct
- Object
- Struct
- Graphlyte::Syntax::Literal
- Defined in:
- lib/graphlyte/syntax.rb
Overview
rubocop:disable Lint/StructNewOverride
Instance Attribute Summary collapse
-
#to_s ⇒ Object
Returns the value of attribute to_s.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#to_s ⇒ Object
Returns the value of attribute to_s
136 137 138 |
# File 'lib/graphlyte/syntax.rb', line 136 def to_s @to_s end |
#type ⇒ Object
Returns the value of attribute type
136 137 138 |
# File 'lib/graphlyte/syntax.rb', line 136 def type @type end |
#value ⇒ Object
Returns the value of attribute value
136 137 138 |
# File 'lib/graphlyte/syntax.rb', line 136 def value @value end |