From: Thomas Hafner Date: 2007-07-21T20:00:02+09:00 Subject: Re: Abstract methods in ruby ? cypher.dp@gmail.com wrote/schrieb <2b4059ff0707111540w6cf25d59q10944fad85bc2dd1@mail.gmail.com>: > Or: Is there a technique to force a subclass to implement a special method ? Alternatively try something similiar to the the NVI idiom in C++: # interface module MyInterface def foo(*args, &block) do_foo(args, block) end end # special implementation of interface class MyClass include MyInterface private def do_foo(args, block) # TODO complete implementation end end Regards Thomas