Method: Beaker::Host#initialize
- Defined in:
- lib/beaker/host.rb
#initialize(name, host_hash, options) ⇒ Host
Returns a new instance of Host.
70 71 72 73 74 75 76 77 |
# File 'lib/beaker/host.rb', line 70 def initialize name, host_hash, @logger = host_hash[:logger] || [:logger] @name, @host_hash, = name.to_s, host_hash.dup, .dup @host_hash['packaging_platform'] ||= @host_hash['platform'] @host_hash = self.platform_defaults.merge(@host_hash) pkg_initialize end |