Module: Main::Util

Defined in:
lib/main/util.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods, Methods

Constant Summary

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

Class Method Summary (collapse)

Class Method Details

+ (Object) included(other)



99
100
101
# File 'lib/main/util.rb', line 99

def self.included other
  BLESS[ other ]
end