From: 7stud -- Date: 2011-03-16T10:03:49+09:00 Subject: Re: Include module Module ActiveSupport::CoreExtensions::Array::Grouping require "/lib/active_support/core_ext/array/grouping" Then you will have something like this at the top of your file: module A module B module C def in_group puts "in_group" end end end end Which means you can do this: class MyClass include A::B::C end MyClass.new.in_group --output:-- in_group I think that Grouping is defined as a "mixin" module--in other words it is a module which contains regular def's inside it: module ActiveSupport module CoreExtension module Array module Grouping def in_group .. .. end end end end end You can't create a module instance, like you can with a class. So you are not able to create a Grouping instance: obj = Grouping.new and call the method using the instance: obj.in_group Rather mixin modules are created to be included by a class, and then the defs in the module become defs in the class. -- Posted via http://www.ruby-forum.com/.