method
quote
v4.2.1 -
Show latest stable
- Class:
Rails::Generators::Actions
quote(value)protected
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