Method: Module#extend

Defined in:
lib/mega/macro.rb

#extend(*args) ⇒ Object



76
77
78
79
80
81
82
# File 'lib/mega/macro.rb', line 76

def extend(*args)
  options = args.last.is_a?(Hash) ? args.pop : {}
  for mod in args
    mod.extend_dynamic_object( self, options )
  end
  extend_without_macros(*args)
end