On Sun, Dec 9, 2012 at 7:24 PM, Marc Heiler <[email protected]> wrote: > Who uses .push when .<< is so much nicer.
That lies in the eye of the beholder, doesn't it? A typical use case is when you want to append several values which are not stored in an Enumerable. Using << can become quite lengthy because " << " takes more space than ", ". Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- 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
