From: Kirk Haines Date: 2005-07-26T07:55:02+09:00 Subject: Re: Lisp on Lines On Monday 25 July 2005 4:25 pm, Joe Cheng wrote: > Perhaps I'm misunderstanding here, please bear with me. Ruby doesn't > have the ability to do this: > > a = "test".length > a() => 4 > > Instead, you have to do this: > > a = lambda {"test".length} > a.call() > a = "test".method(:length) a.call => 4 Kirk Haines