From: Ronald Fischer Date: 2008-01-25T16:54:18+09:00 Subject: Re: "Parametric class" on inheritance James Gray wrote: > On Jan 24, 2008, at 10:23 AM, Ronald Fischer wrote: > >> How does it work out that DelegateClass(Fixnum) evaluates >> to something of type "Class"? > > It is a method call actually. You are allowed to create method that > begin with a capital letter, though it's best only used for special > cases like this. Usually a capitalized method does some kind of > conversion, like what we see here or Kernel#Array, Kernel#String, etc. Thanks a lot (also to Brian) for the helpful explanation! Ronald -- Posted via http://www.ruby-forum.com/.