Module: DynamicMethods

Defined in:
lib/dynamic_methods.rb,
lib/dynamic_methods/version.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: DynamicMethod

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object

:nodoc:



84
85
86
87
88
89
90
# File 'lib/dynamic_methods.rb', line 84

def self.included receiver #:nodoc:
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods

  receiver.send :class_inheritable_array, :dynamic_methods
  receiver.dynamic_methods = []
end