Class: HoldingLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/holding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHoldingLocation

Returns a new instance of HoldingLocation.



25
26
27
# File 'lib/holding.rb', line 25

def initialize
  @items = []
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



24
25
26
# File 'lib/holding.rb', line 24

def code
  @code
end

#itemsObject

Returns the value of attribute items.



24
25
26
# File 'lib/holding.rb', line 24

def items
  @items
end

#nameObject

Returns the value of attribute name.



24
25
26
# File 'lib/holding.rb', line 24

def name
  @name
end