Why you don't want to use module?
module CustomFunctionality
def my_method
puts 'IT WORKS'
end
end
class Source
include CustomFunctionality
end
class Dest
include CustomFunctionality
def another_method
puts 'HELLO'
end
end
d = Dest.new
d.my_method # => IT WORKS
--
Szymon Drejewicz
Yet Another Pragmatic Rubist :-)