Module: Main::Util

Defined in:
lib/main/util.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, Methods

Constant Summary collapse

BLESS =
lambda do |other|
  other.module_eval{
    include Methods
    include InstanceMethods
    extend Methods
    extend ClassMethods
  }
end

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



103
104
105
# File 'lib/main/util.rb', line 103

def self.included other
  BLESS[ other ]
end