Class: Needle::Extras::AttrInject::InjectorElement
- Inherits:
-
Pipeline::Element
- Object
- Pipeline::Element
- Needle::Extras::AttrInject::InjectorElement
- Defined in:
- lib/needle/extras/attr-inject.rb
Overview
A specialized pipeline element that injects the constructed service with dependent services from the point’s container.
Instance Method Summary collapse
Instance Method Details
#call(*args) ⇒ Object
50 51 52 53 54 |
# File 'lib/needle/extras/attr-inject.rb', line 50 def call( *args ) succ. call( *args ). inject_attributes( service_point.container ) end |