Class: Carioca::Container

Inherits:
Object
  • Object
show all
Extended by:
Injector
Defined in:
lib/carioca/container.rb

Instance Method Summary collapse

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