Module: CascadingConfiguration::Core::EnableModuleSupport
- Included in:
- Module
- Defined in:
- lib/cascading_configuration/core/enable_module_support.rb
Instance Method Summary collapse
-
#extended(instance) ⇒ Object
extended #.
Instance Method Details
#extended(instance) ⇒ Object
extended #
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/cascading_configuration/core/enable_module_support.rb', line 8 def extended( instance ) super if defined?( super ) # Ensure our instance has an instance controller unless instance_controller = ::CascadingConfiguration::Core::InstanceController.instance_controller( instance ) instance_controller = ::CascadingConfiguration::Core::InstanceController.new( instance, @default_encapsulation, true ) end instance_controller.create_singleton_support end |