Class: Carioca::Container
- Inherits:
-
Object
- Object
- Carioca::Container
- Extended by:
- Injector
- Defined in:
- lib/carioca/container.rb
Instance Method Summary collapse
-
#initialize(name: 'Carioca') ⇒ Container
constructor
A new instance of Container.
Methods included from Injector
active_services, add, create_methods, extended, inject, services
Constructor Details
#initialize(name: 'Carioca') ⇒ Container
Returns a new instance of Container.
10 11 12 |
# File 'lib/carioca/container.rb', line 10 def initialize(name: 'Carioca') @name = name end |