Module: Prototype::Prototypical

Defined in:
lib/alib-0.5.1/prototype.rb,
lib/alib-0.5.1/prototype-0.3.0.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.extend_object(c) ⇒ Object



157
158
159
160
161
# File 'lib/alib-0.5.1/prototype.rb', line 157

def self.extend_object c
  c.extend ClassMethods
  c.module_eval{ include InstanceMethods }
  super
end