lib/parameters/module_methods.rb
def included(base)
      base.extend ClassMethods

      if base.kind_of?(Module)
        # re-extend the ModuleMethods
        base.extend ModuleMethods
      end
    end
def included(base)
      base.extend ClassMethods

      if base.kind_of?(Module)
        # re-extend the ModuleMethods
        base.extend ModuleMethods
      end
    end
Ensures that the module will re-extend Parameters::ClassMethods,
 when included.