Class: Rubocop::Cop::MultilineIfThen
- Includes:
- IfThenElse
- Defined in:
- lib/rubocop/cop/if_then_else.rb
Instance Attribute Summary
Attributes inherited from Cop
Instance Method Summary collapse
Methods included from IfThenElse
Methods inherited from Cop
#add_offence, #has_report?, inherited, #initialize
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop
Instance Method Details
#error_message ⇒ Object
50 51 52 |
# File 'lib/rubocop/cop/if_then_else.rb', line 50 def 'Never use then for multi-line if/unless.' end |