From: Kevin Smith Date: 2001-09-26T10:17:08+09:00 Subject: [ruby-talk:21702] Re: Help understanding self ... --- David Alan Black wrote: > > Okay, but according to Ruby library reference, and > pickaxe, [] is a method in > > class Hash. A method that is called with no receiver is > sent to self. So, [] > > is not exactly a method. Then, how should I understand > it? I know nobody asked this, and it may be obvious to most people, but since nobody else has mentioned it, I thought I should say that you can use Hash#store instead of the icky self[] format. Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com