On Tue, Aug 11, 2009 at 2:23 PM, brianp <brian.o.pea...@gmail.com> wrote:
> > Hey, > > I'm just going through Agile Web Development With Rails and we're > using what I'm assuming is an assignment operator. > > ex: > @items << current_item > In the above context, << means to append 'current_item' to the end of '@items' array. Also, I would recommend getting a copy of the 'Programming Ruby' and/or 'Programming Ruby 1.9'. Good luck, -Conrad > > But (unless i skipped it) they didn't really explain what that was. So > what is it exactly and why use it over what (at this point im > assuming) a regular assignment operator = could do? > > thanks, > brianp > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---