Class: Rubocop::Cop::SpaceAfterSemicolon
- Includes:
- SpaceAfterCommaEtc
- Defined in:
- lib/rubocop/cop/space_after_comma_etc.rb
Constant Summary
Constants included from SpaceAfterCommaEtc
Rubocop::Cop::SpaceAfterCommaEtc::ERROR_MESSAGE
Instance Attribute Summary
Attributes inherited from Cop
Instance Method Summary collapse
Methods included from SpaceAfterCommaEtc
Methods inherited from Cop
#add_offence, #has_report?, inherited, #initialize
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop
Instance Method Details
#kind(token) ⇒ Object
27 28 29 |
# File 'lib/rubocop/cop/space_after_comma_etc.rb', line 27 def kind(token) 'semicolon' if token.type == :on_semicolon end |