%w(a \ b) #-> [“a”, " ", “b”]
is it possible to get output [“a”, “”, “b”] ?
%w(a \ b) #-> [“a”, " ", “b”]
is it possible to get output [“a”, “”, “b”] ?
On 3/6/06, Simon S. [email protected] wrote:
%w(a \ b) #-> [“a”, " ", “b”]
is it possible to get output [“a”, “”, “b”] ?
argh… nevermind
%W(a #{} b) #=> [“a”, “”, “b”]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs