Class: Chef::Provider

Inherits:
Object
  • Object
show all
Defined in:
lib/chefspec/extensions/chef/lwrp_base.rb,
lib/chefspec/extensions/chef/lwrp_base.rb

Defined Under Namespace

Modules: InlineResources

Class Method Summary collapse

Class Method Details

.action(name, &block) ⇒ Object


27
28
29
# File 'lib/chefspec/extensions/chef/lwrp_base.rb', line 27

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