Class: Rails::Application
- Inherits:
-
Object
- Object
- Rails::Application
- Defined in:
- lib/manioc/railtie.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.container(frozen: true, &setup) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/manioc/railtie.rb', line 3 def self.container frozen: true, &setup Manioc.frozen = frozen if setup config.container = config.container.with(&setup) else config.container end end |
Instance Method Details
#container(**opts, &setup) ⇒ Object
12 13 14 |
# File 'lib/manioc/railtie.rb', line 12 def container **opts, &setup self.class.container(**opts, &setup) end |