Class: Lucio::List
- Inherits:
-
Object
- Object
- Lucio::List
- Defined in:
- lib/lucio/list.rb
Instance Attribute Summary collapse
-
#tree ⇒ Object
readonly
Returns the value of attribute tree.
Instance Method Summary collapse
-
#initialize(tree, evaluable = true) ⇒ List
constructor
A new instance of List.
- #to_s ⇒ Object
Constructor Details
#initialize(tree, evaluable = true) ⇒ List
Returns a new instance of List.
5 6 7 8 |
# File 'lib/lucio/list.rb', line 5 def initialize(tree, evaluable = true) @tree = tree @evaluable = evaluable end |
Instance Attribute Details
#tree ⇒ Object (readonly)
Returns the value of attribute tree.
3 4 5 |
# File 'lib/lucio/list.rb', line 3 def tree @tree end |
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/lucio/list.rb', line 10 def to_s flat(tree) end |