Module: TraitInit

Defined in:
lib/traits.rb,
lib/traits-0.10.0.rb

Defined Under Namespace

Modules: ClassMethods, InstaceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



913
914
915
916
917
918
919
# File 'lib/traits.rb', line 913

def self.included other
#--{{{
  other.extend ClassMethods
  other.module_eval{ include InstaceMethods }
  super
#--}}}
end