Skip to content

Conversation

@brahmscode
Copy link
Owner

No description provided.

class Sample
def hello
puts "Hello Ruby!"
puts "brahms"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer single-quoted strings when you don't need string interpolation or special symbols.

Suggested change
puts "brahms"
puts 'brahms'

object = Sample. new
object.hello
puts "brhms"
puts "hhiD"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer single-quoted strings when you don't need string interpolation or special symbols.

Suggested change
puts "hhiD"
puts 'hhiD'

object.hello
puts "brhms"
puts "hhiD"
puts "sjk"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rubocop] <Style/StringLiterals> reported by reviewdog 🐶
Prefer single-quoted strings when you don't need string interpolation or special symbols.

Suggested change
puts "sjk"
puts 'sjk'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants