Class: Specinfra::HostInventory::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/specinfra/host_inventory/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(host_inventory) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/specinfra/host_inventory/base.rb', line 4

def initialize(host_inventory)
  @host_inventory = host_inventory
end

Instance Method Details

#backendObject



8
9
10
# File 'lib/specinfra/host_inventory/base.rb', line 8

def backend
  @host_inventory.backend
end