Space in the ruby array by %w
Try this:
>> a = %w(a\ b c)
=> ["a ", "b", "c"]
Try this:
>> a = %W[a \s b]
=> ["a", " ", "b"]
Escape it:
%w(a b\ c) # => ["a", "b c"]
Try this:
>> a = %w(a\ b c)
=> ["a ", "b", "c"]
Try this:
>> a = %W[a \s b]
=> ["a", " ", "b"]
Escape it:
%w(a b\ c) # => ["a", "b c"]