DEEPA
Sunday, 15 September 2013
How to quote this on Ruby?
How to quote this on Ruby?
i have as string, with these value:
'`~!@#:;|$%^>?,)_+-={][&*(<]./"'
how to declare it on .rb without heredoc?
with heredoc:
bla = <<<_
'`~!@#:;|$%^>?,)_+-={][&*(<]./"'
_
bla.chop!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment