From: Muhammad mohsin ali Ma Date: 2009-01-11T04:06:52+09:00 Subject: What is meant by << operator ??? What is meant by << operator? For example this operator is used in following code, /*****************************************************/ def add_product(product) current_item = @items.find {|item| item.product == product} if current_item current_item.increment_quantity else current_item = CartItem.new(product) @items << current_item end current_item end /*****************************************************/ -- Posted via http://www.ruby-forum.com/.