Module: ModuleCluster::Define::Block::CascadingModuleOrSubclass
- Extended by:
- ExtendForCascade
- Defined in:
- lib/module-cluster.rb,
lib/module-cluster/ModuleCluster/Define/Block/CascadingModuleOrSubclass.rb
Instance Method Summary collapse
-
#cascading_module_include_or_subclass(&runtime_block) ⇒ Object
cascading_module_include_or_subclass #.
Methods included from ExtendForCascade
Methods included from Suspend::WithoutHooks
#without_any_extend_hooks, #without_any_hooks, #without_any_include_hooks, #without_extend_hooks, #without_include_hooks, #without_prepend_extend_hooks, #without_prepend_include_hooks
Methods included from Suspend::Hooks
#all_extend_hooks_suspended?, #all_hooks_suspended?, #all_include_hooks_suspended?, #extend_hooks_suspended?, #hooks_suspended?, #include_hooks_suspended?, #prepend_extend_hooks_suspended?, #prepend_include_hooks_suspended?, #resume_any_extend_hooks, #resume_any_hooks, #resume_any_include_hooks, #resume_extend_hooks, #resume_include_hooks, #resume_prepend_extend_hooks, #resume_prepend_include_hooks, #suspend_any_extend_hooks, #suspend_any_hooks, #suspend_any_include_hooks, #suspend_extend_hooks, #suspend_include_hooks, #suspend_prepend_extend_hooks, #suspend_prepend_include_hooks
Methods included from Subclass
should_cascade?, should_run_block?, #subclass
Methods included from CascadeFeatures::ClusterStack
#cluster_stack, cluster_stack, cluster_stacks
Methods included from CascadingModule
#cascading_module_extend, #cascading_module_include, #cascading_module_include_or_extend, #cascading_prepend_module_extend, #cascading_prepend_module_include, #cascading_prepend_module_include_or_extend, should_cascade?, should_run_block?
Instance Method Details
#cascading_module_include_or_subclass(&runtime_block) ⇒ Object
cascading_module_include_or_subclass #
15 16 17 18 19 |
# File 'lib/module-cluster/ModuleCluster/Define/Block/CascadingModuleOrSubclass.rb', line 15 def cascading_module_include_or_subclass( & runtime_block ) module_set = cascading_module_include( & runtime_block ) subclass_set = subclass( & runtime_block ) return ::ModuleCluster::ClusterStack::Set::MultiSetProxy.new( module_set, subclass_set ) end |