From: Dominik Werder Date: 2004-12-09T04:32:29+09:00 Subject: Overloading a module method? I'm having a headache while trying to achive something like this: module Math def Math.cos val if val.kind_of? MyType val = super(val) # do stuff with val and return return val else # normal behavior super end end end super seems not to work, perhaps because Math is not a module.. Does anybody please know how to to this? thanks and bye! Dominik