Class: Leda::DataUnit
- Inherits:
-
Object
- Object
- Leda::DataUnit
- Defined in:
- lib/leda/data_unit.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#stores ⇒ Object
readonly
Returns the value of attribute stores.
Instance Method Summary collapse
-
#initialize(name) ⇒ DataUnit
constructor
A new instance of DataUnit.
Constructor Details
#initialize(name) ⇒ DataUnit
8 9 10 11 |
# File 'lib/leda/data_unit.rb', line 8 def initialize(name) @name = name @stores = [] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/leda/data_unit.rb', line 5 def name @name end |
#stores ⇒ Object (readonly)
Returns the value of attribute stores.
6 7 8 |
# File 'lib/leda/data_unit.rb', line 6 def stores @stores end |