yes... please anyone asnwer the same!

On Wed, Sep 28, 2011 at 10:37 PM, Bhavesh Sharma <sharmabhavesh / gmail.com>wrote:

> Sorry if this comes across as a dumb question, but what does the
> following syntax mean in ruby.
>
> @keywords ||= []
>
> I understand that its setting the instance variable as an array but what
> is the logical operator '||' doing in there.
>
> --
> Posted via http://www.ruby-forum.com/.
>
>