Parent

Methods

Included Modules

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Style::SingleLineMethods

This cop checks for single-line method definitions. It can optionally accept single-line methods with no body.

Constants

MSG

Public Instance Methods

allow_empty?() click to toggle source
# 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.