"Dave Thomas" <Dave / PragmaticProgrammer.com> wrote in message
news:m2vg4jmvgl.fsf / zip.local.thomases.com...
> William Djaja Tjokroaminata <billtj / z.glue.umd.edu> writes:
>
> > That's why I don't understand why the method name "class" didn't work back
> > then.  Can anyone help here?
>
> Run the following:
>
>    puts type
>
>
> Now run
>
>    puts class

Not quite - you have to give a little syntactic help

     puts self.class

(not that I really care;-)  but I am wondering what the
improvement of ```class'' over ``type'' is supposed to be?

/Christoph