Class: JimboDragon::Main

Inherits:
Object
  • Object
show all
Defined in:
lib/jimbodragon/main.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(knife_or_chefclient) ⇒ Main

Returns a new instance of Main.



7
8
9
# File 'lib/jimbodragon/main.rb', line 7

def initialize(knife_or_chefclient)
  @knife_or_chefclient = knife_or_chefclient
end

Instance Attribute Details

#knife_or_chefclientObject (readonly)

Returns the value of attribute knife_or_chefclient.



6
7
8
# File 'lib/jimbodragon/main.rb', line 6

def knife_or_chefclient
  @knife_or_chefclient
end

Instance Method Details

#convergeObject



11
12
13
# File 'lib/jimbodragon/main.rb', line 11

def converge
  JimboDragon.converge(self)
end