conjur-api.gemspec
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
gem.summary = %q{Conjur API}
- Read upRead up
- Exclude checks
This cop checks for usage of the %q/%Q syntax when '' or "" would do.
Example:
# bad
name = %q(Bruce Wayne)
time = %q(8 o'clock)
question = %q("What did you say?")
# good
name = 'Bruce Wayne'
time = "8 o'clock"
question = '"What did you say?"'
Use %q
only for strings that contain both single quotes and double quotes. Open
Open
gem.description = %q{Conjur API}
- Read upRead up
- Exclude checks
This cop checks for usage of the %q/%Q syntax when '' or "" would do.
Example:
# bad
name = %q(Bruce Wayne)
time = %q(8 o'clock)
question = %q("What did you say?")
# good
name = 'Bruce Wayne'
time = "8 o'clock"
question = '"What did you say?"'