Module: Spark::CoreExtension::Object

Defined in:
lib/spark/ext/object.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/spark/ext/object.rb', line 13

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, InstanceMethods)
  base.class_eval do
    patch_unless_exist :deep_copy, :spark
  end
end