Method: Module#include
- Defined in:
-
lib/mega/dynamic_mixin.rb,
lib/mega/macro.rb
Alternate include which will store dynamic options.
98 99 100 101 102 103 104 |
# File 'lib/mega/dynamic_mixin.rb', line 98 def include(*args) = args.last.is_a?(Hash) ? args.pop : {} for mod in args mod.append_dynamic_features( self, ) end include_without_macros(*args) end |