Method: COS::Tree#initialize
- Defined in:
- lib/cos/tree.rb
#initialize(options = {}) ⇒ Tree
Returns a new instance of Tree.
12 13 14 15 16 |
# File 'lib/cos/tree.rb', line 12 def initialize( = {}) super() @tree_str = '' @depth = depth || MAX_DEPTH end |