From: Mathieu Bouchard Date: 2005-01-28T07:54:42+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby On Fri, 28 Jan 2005, Aredridel wrote: > On Fri, 2005-01-28 at 06:34 +0900, Mohammad Khan wrote: > > Objection on # 2 > > Everything is *not* object. > > By believing the quote 'in Ruby, Everything is object' already made my life hard. :p > > All but variables are... All but variables, blocks (which are not Procs), methods (which are not Methods and not even UnboundMethods, which are both mere wrappers) and, for all practical purposes, every single bit of code, because even though Ruby stores all the method code as trees of objects ("AST"), those are not exposed to the user, so they don't count. Any other exceptions to the rule I might be missing ? _____________________________________________________________________ Mathieu Bouchard -=- Montr�al QC Canada -=- http://artengine.ca/matju