module Cleanroom

def self.extended(base)

Parameters:
  • base (Class) --
def self.extended(base)
  base.send(:extend,  ClassMethods)
  base.send(:include, InstanceMethods)
end

def self.included(base)

Parameters:
  • base (Class) --
def self.included(base)
  base.send(:extend,  ClassMethods)
  base.send(:include, InstanceMethods)
end