From: Robert Feldt Date: 2001-11-11T14:00:20+09:00 Subject: [ruby-talk:24858] Help needed on subclassing Its late here in Sweden (actually early, but anyway... ;-)) and I cant find an elegant way to from class M subclass class T so that in the subclass some (but not all) of the arguments for T.new are specified. Example: T is class with T.new(a,b,c) M.[] needs to return a subclass of T (lets call it S) so that calls S.new(c) are translated to T.new(am,bm,c). Ok, you can use evals but I'd call that cheating. Please help me; my brain and screen are hazy! ;-) /Robert