Class: Chef::Provider::RubyBlock
- Inherits:
-
Chef::Provider
- Object
- Chef::Provider
- Chef::Provider::RubyBlock
- 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_create ⇒ Object
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_resource ⇒ Object
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 |