Class: TreeReader::TreeItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/textutils/reader/tree_reader.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



24
25
26
# File 'lib/textutils/reader/tree_reader.rb', line 24

def key
  @key
end

#levelObject

Returns the value of attribute level

Returns:

  • (Object)

    the current value of level



24
25
26
# File 'lib/textutils/reader/tree_reader.rb', line 24

def level
  @level
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



24
25
26
# File 'lib/textutils/reader/tree_reader.rb', line 24

def value
  @value
end