From: Kent Dahl Date: 2001-11-21T23:13:39+09:00 Subject: [ruby-talk:26019] Re: positive Tobias Reif wrote: > very nice; I'd like to use that. But how can I > p (10-40).pos > ? > I get > " undefined method `pos' for nil (NameError)" > ruby 1.6.3 (2001-03-19) [i386-cygwin] Isn't this the good ol' parsing problem with puts (and p too), where it is parsed as (p (10-40)).pos and the call to p returns nil. -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/