These methods are available in the scope of your class definition, after you have included MinDI::InjectableContainer.
Methods
Public Instance methods
Set state so subsequently defined services have the container injected into them when they are instantiated. (This is the default state.)
[ show source ]
# File lib/mindi.rb, line 358 def injected @__services_are_injected__ = true end
Set state so subsequently defined services do not have the container injected into them when they are instantiated.
[ show source ]
# File lib/mindi.rb, line 364 def uninjected @__services_are_injected__ = false end