From: Henry Savr Date: 2006-08-25T01:52:43+09:00 Subject: Redefining class Thank you, guys, for help with my previous problems. With your assistance my second week with Ruby was more or less successful. However... I redefined couple methods of the Time class Everything worked fine, so I wanted to combine all the stuff in the module. But Ruby began complaining, when I just enclosed my job with words "module X1" and "end". That was fine: class Time ... end class Is ... end class Money ... end ========================= Problems start here: module X1 class Time ... end class Is ... end class Money ... end end ======================== I think, that Ruby considers class Time inside the module as a new class, which belongs module X1. So I have to inform him/her :-) , that it is the same class, as the original one. And I don't know how to do that. Please, help. Thank you Henry -- Posted via http://www.ruby-forum.com/.