From: Nat Pryce Date: 2002-03-14T05:51:53+09:00 Subject: Re: Method type 'abstract' (Module#abstract) From: "Kent Dahl" > Phil Tomson wrote: > > class MyClass > > abstract :some_method > > end > > > > mc = MyClass.new > > Ugh! Some Java/C++ idiom just reared its head in the back of my skull > when seeing this. Since MyClass is abstract, I would expect the call to > new to freak too. (Fail early) No it shouldn't. Ruby lets you define singleton methods on objects. You might want to instantiate an instance of MyClass and define some_method for that one instance. That instance is now no longer abstract. Cheers, Nat.