SyntaxFix
Write A Post
Hire A Developer
Questions
@title = tokens[Title].strip! || tokens[Title]
It's entirely possible i'm not understanding the topic, but wouldn't this do what you need?
" success ".strip! || "rescue" #=> "success" "failure".strip! || "rescue" #=> "rescue"