Module: Module::Cluster::ClassSupport
- Defined in:
- lib/module/cluster/class_support.rb
Overview
Provides #inherited support for Module::Cluster.
Instance Method Summary collapse
-
#inherited(subclass_instance) ⇒ Object
Ensures Module::Cluster subclass hooks occur at time of subclassing.
Instance Method Details
#inherited(subclass_instance) ⇒ Object
Ensures Module::Cluster subclass hooks occur at time of subclassing.
14 15 16 17 18 19 20 |
# File 'lib/module/cluster/class_support.rb', line 14 def inherited( subclass_instance ) super if defined?( super ) ::Module::Cluster.hook_cluster_events( self, subclass_instance, :subclass ) end |