Module: Doodle::Core

Included in:
Doodle, Base
Defined in:
lib/doodle.rb

Overview

Include Doodle::Core if you want to derive from another class but still get Doodle goodness in your class (including Factory methods).

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



909
910
911
912
913
914
915
916
# File 'lib/doodle.rb', line 909

def self.included(other)
  super
  other.module_eval {
    extend Embrace
    embrace BaseMethods
    include Factory
  }
end