module Imodule
???
end
class Some
include Imodule
def self.imethod
puts \"original\"
end
end
Some.imethod
# => \"overrided\"
How to c
If this really is an interview question to test deep understanding of Ruby features, then the answer is trivial: Ruby doesn't have class methods. Nor does it have static methods. It most certainly doesn't have static class methods. If you have a deep understanding of Ruby features, heck, even if you have just a superficial familiarity with Ruby, you know this. Ergo, it's a trick question.