RuboCop::Cop
This cop checks for single-line method definitions. It can optionally accept single-line methods with no body.
# File lib/rubocop/cop/style/single_line_methods.rb, line 12 def allow_empty? cop_config['AllowIfMethodIsEmpty'] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.