class SmartCore::Container::DefinitionDSL::Commands::Base
@api private @since 0.1.0
Public Class Methods
inheritable=(identifier)
click to toggle source
@param identifier [Boolean] @return [Boolean]
@api private @since 0.19.0
# File lib/smart_core/container/definition_dsl/commands/base.rb, line 12 def inheritable=(identifier) @inheritable = identifier end
inheritable?()
click to toggle source
@return [Boolean]
@api private @since 0.19.0
# File lib/smart_core/container/definition_dsl/commands/base.rb, line 20 def inheritable? @inheritable end
inherited(child_klass)
click to toggle source
@return [Boolean]
@api private @since 0.19.0
Calls superclass method
# File lib/smart_core/container/definition_dsl/commands/base.rb, line 28 def inherited(child_klass) child_klass.instance_variable_set(:@inheritable, true) super end
Public Instance Methods
call(registry)
click to toggle source
@param regsitry [SmartCore::Container::Registry] @return [void]
@api private @since 0.1.0
# File lib/smart_core/container/definition_dsl/commands/base.rb, line 39 def call(registry); end
inheritable?()
click to toggle source
@return [Boolean]
@api private @since 0.19.0
# File lib/smart_core/container/definition_dsl/commands/base.rb, line 45 def inheritable? self.class.inheritable? end