module ChefCompat::Monkeypatches::InlineResources::ClassMethods
Public Instance Methods
action(name, &block)
click to toggle source
Calls superclass method
# File files/lib/chef_compat/monkeypatches/chef/provider.rb, line 24 def action(name, &block) super(name) { send("compile_action_#{name}") } # We put the action in its own method so that super() works. define_method("compile_action_#{name}", &block) end