Class: Wukong::Processor::Map
- Inherits:
-
Wukong::Processor
- Object
- Hanuman::Stage
- Wukong::Processor
- Wukong::Processor::Map
- Defined in:
- lib/wukong/widget/processors.rb
Overview
Until further notice, this processor is unusable due to the invocation of yield class Foreach < Processor def process(record, &blk) perform_action(record, &blk) end register end
Constant Summary
Constants inherited from Wukong::Processor
Instance Method Summary collapse
Methods inherited from Wukong::Processor
configure, consumes, description, #expected_record_type, #expected_serialization, #finalize, #perform_action, produces, #receive_action, #setup, #stop, valid_serializer?, validate_and_set_serialization
Methods included from Logging
Methods included from Hanuman::StageClassMethods
#builder, #label, #register, #set_builder
Instance Method Details
#process(record) {|perform_action(record)| ... } ⇒ Object
202 203 204 |
# File 'lib/wukong/widget/processors.rb', line 202 def process(record) yield perform_action(record) end |