Class: Brigit::Inventory
- Inherits:
-
Object
- Object
- Brigit::Inventory
- Defined in:
- lib/brigit/inventories/inventory.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Inventory
constructor
A new instance of Inventory.
- #repositories ⇒ Object
Methods included from Fallible
Methods included from Listable
Constructor Details
#initialize(path) ⇒ Inventory
Returns a new instance of Inventory.
11 12 13 |
# File 'lib/brigit/inventories/inventory.rb', line 11 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
10 11 12 |
# File 'lib/brigit/inventories/inventory.rb', line 10 def path @path end |
Instance Method Details
#repositories ⇒ Object
15 16 17 |
# File 'lib/brigit/inventories/inventory.rb', line 15 def repositories raise NotImplementedError, 'Abstract' end |