Class: Dependor::Sinatra::DefaultInjector
- Inherits:
-
Object
- Object
- Dependor::Sinatra::DefaultInjector
- Includes:
- AutoInject, Objects
- Defined in:
- lib/dependor-sinatra/default_injector.rb
Instance Attribute Summary
Attributes included from Objects
#env, #params, #request, #response, #session
Instance Method Summary collapse
-
#initialize(objects) ⇒ DefaultInjector
constructor
A new instance of DefaultInjector.
Methods included from Objects
Constructor Details
#initialize(objects) ⇒ DefaultInjector
Returns a new instance of DefaultInjector.
7 8 9 |
# File 'lib/dependor-sinatra/default_injector.rb', line 7 def initialize(objects) sinatra_objects(objects) end |