From: luke gruber Date: 2011-10-02T09:46:09+09:00 Subject: Re: Ruby Syntax @keywords ||= >On Thu, Sep 29, 2011 at 02:07:35AM +0900, Bhavesh Sharma wrote: > Sorry if this comes across as a dumb question, but what does the > following syntax mean in ruby. You'll probably see something like this, too. Same idea, but appends a value to @var regardless of whether it's a brand-new instance variable or not. (@var ||= []) << 'val' -Luke -- Posted via http://www.ruby-forum.com/.