Or, you can also do something like this:
module A
module B
module C
def in_group
puts 'in_group'
end
end
end
end
include A::B::C
in_group
include() at the top-level causes the defs in the module to be included
in the Object class, which means you can call in_group (without a
receiver) from anywhere.
--
Posted via http://www.ruby-forum.com/.