class RuboCop::Cop::Chef::Deprecations::ErlCallResource
Don't use the deprecated `erl_call` resource removed in Chef
Infra Client 13.“
@example
#### incorrect erl_call "foo" do bar end
Constants
- MSG
- RESTRICT_ON_SEND
Public Instance Methods
on_send(node)
click to toggle source
# File lib/rubocop/cop/chef/deprecation/erl_call.rb, line 35 def on_send(node) add_offense(node, message: MSG, severity: :warning) end