instance method
quote_phrase
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
quote_phrase( str )
If the string supplied has PHRASE unsafe characters in it, will return the string quoted in double quotes, otherwise returns the string unmodified
Parameters
-
strreq
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb, line 135
def quote_phrase( str )
(PHRASE_UNSAFE === str) ? dquote(str) : str
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb line 135
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::TextUtils