Class: Fibeline::Transformer
- Inherits:
-
GenericElement
- Object
- GenericElement
- Fibeline::Transformer
- Defined in:
- lib/fibeline/transformer.rb
Instance Attribute Summary
Attributes inherited from GenericElement
Instance Method Summary collapse
-
#initialize(&block) ⇒ Transformer
constructor
A new instance of Transformer.
Methods inherited from GenericElement
#each, #filter, #handle_value, #input, #output, #process, #resume, #transform, #|
Constructor Details
#initialize(&block) ⇒ Transformer
Returns a new instance of Transformer.
6 7 8 9 |
# File 'lib/fibeline/transformer.rb', line 6 def initialize(&block) @transformer = block super end |