Module: Monkey::Ext::ExtDSL::ClassDsl

Includes:
Monkey::Ext::ExtDSL
Defined in:
lib/monkey/ext.rb

Instance Method Summary collapse

Methods included from Monkey::Ext::ExtDSL

#alias_core_method, #class_methods, #each_module, #expects, #feature, #included, #propagate_include, #rename_core_method

Instance Method Details

#core_class(klass = nil) ⇒ Object



11
12
13
# File 'lib/monkey/ext.rb', line 11

def core_class(klass = nil)
  klass ? @core_class = klass : @core_class
end