Module: Doodle::Core
- Included in:
- Doodle
- 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
1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 |
# File 'lib/doodle.rb', line 1221 def self.included(other) super other.module_eval { # FIXME: this is getting a bit arbitrary include Doodle::Equality include Doodle::Comparable extend Embrace embrace BaseMethods include Factory } end |