RuboCop::Cop
This cop checks the args passed to `fail` and `raise`.
# File lib/rubocop/cop/style/raise_args.rb, line 9 def on_send(node) return unless command?(:raise, node) || command?(:fail, node) case style when :compact check_compact(node) when :exploded check_exploded(node) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.