From: ts Date: 2001-11-23T01:35:49+09:00 Subject: [ruby-talk:26157] Re: Passing class names to constructors. >>>>> "H" == Hugh Sasse Staff Elec Eng writes: H> what it buys me is not doing Class.new(Knotclass) where Knotclass is H> *already* defined. Well there is a confusion here. Class.new(Knot) create a new class which *inherit* from Knot pigeon% cat b.rb #!/usr/bin/ruby class Knot end a = Class.new(Knot) p (a == Knot) p (a.kind_of? Class) p a < Knot pigeon% pigeon% b.rb false true true pigeon% Guy Decoux