method
quote
v6.0.0 -
Show latest stable
- Class:
Rails::Generators::Actions
quote(value)private
Surround string with single quotes if there is no quotes. Otherwise fall back to double quotes
quote(value)Surround string with single quotes if there is no quotes. Otherwise fall back to double quotes