instance method
token_safe?
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
token_safe?( str )
Returns true if the string supplied is free from characters not allowed as a TOKEN
Parameters
-
strreq
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb, line 141
def token_safe?( str )
not TOKEN_UNSAFE === str
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb line 141
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::TextUtils