Class: Ignition::Bundle

Inherits:
Hash
  • Object
show all
Defined in:
lib/ignition/models/bundle.rb

Instance Method Summary collapse

Methods inherited from Hash

#except, #except!, #method_missing, #remove_empty, zip

Constructor Details

#initialize(h) ⇒ Bundle

Returns a new instance of Bundle.



2
3
4
5
# File 'lib/ignition/models/bundle.rb', line 2

def initialize(h)
	update(h)
	self.status = Ignition::BundleStatus.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hash

Instance Method Details

#cwdObject



7
8
9
# File 'lib/ignition/models/bundle.rb', line 7

def cwd
	eval("\"" + self["cwd"] + "\"")
end