Class: DataTree
- Inherits:
-
Object
- Object
- DataTree
- Defined in:
- lib/data_tree.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path = Dir.pwd) ⇒ DataTree
constructor
A new instance of DataTree.
Constructor Details
#initialize(path = Dir.pwd) ⇒ DataTree
Returns a new instance of DataTree.
7 8 9 |
# File 'lib/data_tree.rb', line 7 def initialize(path = Dir.pwd) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/data_tree.rb', line 5 def path @path end |