Module: Chef::Provider::InlineResources::ClassMethods

Defined in:
lib/chefspec/extensions/chef/lwrp_base.rb

Instance Method Summary collapse

Instance Method Details

#action(name, &block) ⇒ Object


17
18
19
# File 'lib/chefspec/extensions/chef/lwrp_base.rb', line 17

def action(name, &block)
  define_method("action_#{name}", &block)
end