Class: Transproc::Transformer
- Inherits:
-
Object
- Object
- Transproc::Transformer
- Extended by:
- ClassInterface
- Defined in:
- lib/transproc/transformer.rb,
lib/transproc/transformer/class_interface.rb
Overview
Transfomer class for defining transprocs with a class DSL.
Defined Under Namespace
Modules: ClassInterface
Instance Method Summary collapse
-
#call(input) ⇒ mixed
Execute the transformation pipeline with the given input.
Methods included from ClassInterface
[], container, define, inherited, method_missing, respond_to_missing?, t, transproc
Instance Method Details
#call(input) ⇒ mixed
Execute the transformation pipeline with the given input.
65 66 67 |
# File 'lib/transproc/transformer.rb', line 65 def call(input) self.class.transproc.call(input) end |