>
>
> irb(main):013:0> ["foo"].push(*"abc".chars) 
> => ["foo", "a", "b", "c"] 
>
>
A bit beside the point though. I was wondering if #concat should be able to 
handle an Enumerator. 

But I didn't know push could take more than one argument, so that's 
something learned today. Thanks!



-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to