Forum: Ruby Re: nuby: %w to understand quotes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peña, Botp (Guest)
on 2006-04-24 06:28
(Received via mailing list)
Ross B. [mailto:removed_email_address@domain.invalid] wrote:

# Perhaps you are looking for shellwords?
# require 'shellwords'
# Shellwords.shellwords %{this is "just a" test}
# # => ["this", "is", "just a", "test"]

Yes! very cool. That's it, Ross.

I am also considering Ara's yaml solution for some (very long text)

Thank you, Ross and Ara.

kind regards -botp
This topic is locked and can not be replied to.