Class: Brigit::Inventory

Inherits:
Object
  • Object
show all
Includes:
Fallible, Listable
Defined in:
lib/brigit/inventories/inventory.rb

Direct Known Subclasses

GitosisInventory

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Fallible

#fail

Methods included from Listable

included

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

#pathObject (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

#repositoriesObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/brigit/inventories/inventory.rb', line 15

def repositories
  raise NotImplementedError, 'Abstract'
end