class RuboCop::Cop::Style::StringLiterals
Public Instance Methods
message(_node)
click to toggle source
# File lib/rubocop/cop/style/string_literals.rb, line 7 def message(_node) if style == :single_quotes "ζ*'ヮ')ζ<うっうー!特殊記号とか補間がないときはシングルクォーテーションで囲いましょうねー" else "ζ*'ヮ')ζ<うっうー!バックスラッシュでシングルクォーテーションが必要でない限りダブルクォーテーションで囲いましょうねー" end end