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::MSG
Instance Attribute Summary
Attributes inherited from Cop
#debug, #disabled_lines, #offences
Instance Method Summary collapse
Methods included from SpaceAfterCommaEtc
Methods inherited from Cop
#add_offence, cop_name, #has_report?, #ignore_node, inherited, #initialize, #inspect, #name, #on_comment
Constructor Details
This class inherits a constructor from Rubocop::Cop::Cop
Instance Method Details
#kind(token) ⇒ Object
37 38 39 |
# File 'lib/rubocop/cop/space_after_comma_etc.rb', line 37 def kind(token) 'semicolon' if token.type == :tSEMI end |