Class: Rubocop::Cop::Style::StringLiterals

Inherits:
Cop
  • Object
show all
Includes:
StringHelp
Defined in:
lib/rubocop/cop/style/string_literals.rb

Overview

Checks if uses of quotes match the configured preference.

Constant Summary

Constants inherited from Cop

Cop::OPERATOR_METHODS

Instance Attribute Summary

Attributes inherited from Cop

#config, #corrections, #offences, #processed_source

Method Summary

Methods included from StringHelp

#on_dstr, #on_regexp, #on_str

Methods inherited from Cop

#add_offence, all, #autocorrect?, #convention, #cop_config, cop_name, #cop_name, cop_type, #debug?, #ignore_node, inherited, #initialize, lint?, non_rails, rails?, style?, #support_autocorrect?, #warning

Constructor Details

This class inherits a constructor from Rubocop::Cop::Cop