Module: Doodle::JSON

Included in:
Doodle
Defined in:
lib/doodle/json.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



32
33
34
35
# File 'lib/doodle/json.rb', line 32

def self.included(other)
  other.module_eval { include InstanceMethods }
  other.extend(ClassMethods)
end