From: Mister Freeman Date: 2010-03-07T05:40:32+09:00 Subject: Re: please help. what does mean << Rick Denatale wrote: > On Sat, Mar 6, 2010 at 2:58 PM, Kalinkin Kirill > wrote: >> �source.pop; source_expr.pop >> end >> >> Thanks in advance! > > It depends on what objects source and source_expr are. > > << is just a message, and different objects can implement it > differently. > > For integers << x means shift left x bits, > > For arrays << x means append x to the end of the array. > It is an array and it means that the operation is push. Thanks a lot for the quick answer! I became fan of ruby. So elegant language! -- Posted via http://www.ruby-forum.com/.