Class: Namarara::TreeValue

Inherits:
Object
  • Object
show all
Defined in:
lib/namarara/parser.rb

Direct Known Subclasses

BoolValue, NumberValue, StringValue, VarValue

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



11
12
13
# File 'lib/namarara/parser.rb', line 11

def value
  @value
end

Instance Method Details

#to_sObject

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/namarara/parser.rb', line 13

def to_s
  raise NotImplementedError
end