Class: Fairy::Inject
- Defined in:
- lib/fairy/client/inject.rb
Defined Under Namespace
Modules: Interface
Instance Method Summary collapse
- #backend_class_name ⇒ Object
-
#initialize(fairy, opts, block_source) ⇒ Inject
constructor
A new instance of Inject.
- #value ⇒ Object
Methods inherited from IOFilter
Methods inherited from Filter
#backend, #backend=, #backend_class, #def_pool_variable
Constructor Details
#initialize(fairy, opts, block_source) ⇒ Inject
Returns a new instance of Inject.
57 58 59 60 |
# File 'lib/fairy/client/inject.rb', line 57 def initialize(fairy, opts, block_source) super @block_source = block_source end |
Instance Method Details
#backend_class_name ⇒ Object
62 63 64 |
# File 'lib/fairy/client/inject.rb', line 62 def backend_class_name "CInject" end |
#value ⇒ Object
66 67 68 |
# File 'lib/fairy/client/inject.rb', line 66 def value backend.value end |