Class: Graphlyte::Syntax::Literal

Inherits:
Struct
  • Object
show all
Defined in:
lib/graphlyte/syntax.rb

Overview

rubocop:disable Lint/StructNewOverride

Instance Attribute Summary collapse

Instance Attribute Details

#to_sObject

Returns the value of attribute to_s

Returns:

  • (Object)

    the current value of to_s



136
137
138
# File 'lib/graphlyte/syntax.rb', line 136

def to_s
  @to_s
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



136
137
138
# File 'lib/graphlyte/syntax.rb', line 136

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



136
137
138
# File 'lib/graphlyte/syntax.rb', line 136

def value
  @value
end