class Confer::Inventory::Host

Internal: Encapsulates a single host in an Inventory.

Attributes

name[R]

Public: A String containing the name of the host.

options[R]

Public: A Hash containing the host options.

Public Class Methods

new(*args) click to toggle source

Internal: Iniitalize a new Host with configuration.

args - An array containing the name of the host and a Hash containing

the host options.
# File lib/confer/inventory.rb, line 77
def initialize(*args)
  @options = args.extract_options!
  @name    = args.first
end