Class: Mappum::Constant

Inherits:
Struct
  • Object
show all
Defined in:
lib/mappum/map.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parentObject

Returns the value of attribute parent

Returns:

  • the current value of parent



183
184
185
# File 'lib/mappum/map.rb', line 183

def parent
  @parent
end

#valueObject

Returns the value of attribute value

Returns:

  • the current value of value



183
184
185
# File 'lib/mappum/map.rb', line 183

def value
  @value
end

Instance Method Details

#funcObject



190
191
192
# File 'lib/mappum/map.rb', line 190

def func
  nil      
end

#is_arrayObject



187
188
189
# File 'lib/mappum/map.rb', line 187

def is_array
  @value.kind_of?(Array)
end