Method: Instance#initialize
- Defined in:
- lib/maws/instance.rb
#initialize(maws, config, name, region, prefix, zone, role, index) ⇒ Instance
Returns a new instance of Instance.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/maws/instance.rb', line 30 def initialize(maws, config, name, region, prefix, zone, role, index) @maws = maws @config = config @name = name @region = region @zone = zone @role = role @index = index @prefix = prefix @description = mash @groups = %w(all) end |