Class: Chef::Provider::RubyBlock

Inherits:
Chef::Provider show all
Defined in:
lib/engineyard-hudson/cli/install/templates/cookbooks/main/libraries/ruby_block.rb,
lib/engineyard-hudson/cli/install_server/templates/cookbooks/main/libraries/ruby_block.rb

Instance Method Summary collapse

Instance Method Details

#action_createObject



32
33
34
# File 'lib/engineyard-hudson/cli/install/templates/cookbooks/main/libraries/ruby_block.rb', line 32

def action_create
  @new_resource.block.call
end

#load_current_resourceObject



27
28
29
30
# File 'lib/engineyard-hudson/cli/install/templates/cookbooks/main/libraries/ruby_block.rb', line 27

def load_current_resource
  Chef::Log.debug(@new_resource.inspect)
  true
end