Module: Hammock::ObjectPatches

Defined in:
lib/hammock/monkey_patches/object.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

MixInto =
Object

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



5
6
7
8
9
10
11
12
# File 'lib/hammock/monkey_patches/object.rb', line 5

def self.included base # :nodoc:
  base.send :include, InstanceMethods
  base.send :extend, ClassMethods

  base.class_eval {
    alias is_an? is_a?
  }
end