Stefano Crocco wrote:
> this feature (at least, my trials show this, although I couldn't find
> documentation about this). So, you can write:
> 
> joe = Customer["Joe Smith", "123 Maple, Anytown NC", 12345 ]


I also missed the docs for this since I was looking in the old pick-axe 
book included with Ruby dists.  It's actually documented in the second 
edition book on page 627.  Thanks.

So how is [] defined in Ruby?  Just curious.  It must be a special-case.

-- 
Posted via http://www.ruby-forum.com/.