class RuboCop::Cop::Chef::Modernize::ActionMethodInResource

Use the custom resource language’s ‘action :my_action` blocks instead of creating actions with methods.

@example

### incorrect
def action_create
 # :create action code here
end

### correct
action :create do
 # :create action code here
end