Class: HoldingLocation
- Inherits:
-
Object
- Object
- HoldingLocation
- Defined in:
- lib/holding.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#items ⇒ Object
Returns the value of attribute items.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ HoldingLocation
constructor
A new instance of HoldingLocation.
Constructor Details
#initialize ⇒ HoldingLocation
Returns a new instance of HoldingLocation.
25 26 27 |
# File 'lib/holding.rb', line 25 def initialize @items = [] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
24 25 26 |
# File 'lib/holding.rb', line 24 def code @code end |
#items ⇒ Object
Returns the value of attribute items.
24 25 26 |
# File 'lib/holding.rb', line 24 def items @items end |
#name ⇒ Object
Returns the value of attribute name.
24 25 26 |
# File 'lib/holding.rb', line 24 def name @name end |