Module: TraitInit

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

Defined Under Namespace

Modules: ClassMethods, InstaceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



705
706
707
708
709
710
711
# File 'lib/traits.rb', line 705

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