Class: Specinfra::HostInventory::Kernel

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

Instance Method Summary collapse

Methods inherited from Base

#backend, #initialize

Constructor Details

This class inherits a constructor from Specinfra::HostInventory::Base

Instance Method Details

#getObject



4
5
6
7
8
9
# File 'lib/specinfra/host_inventory/kernel.rb', line 4

def get
  kernel = {}
  kernel['machine'] = backend.os_info[:arch]

  kernel
end