Class: Wukong::Processor::Serializer
- Inherits:
-
Wukong::Processor
- Object
- Hanuman::Stage
- Wukong::Processor
- Wukong::Processor::Serializer
- Defined in:
- lib/wukong/widget/serializers.rb
Direct Known Subclasses
FromCsv, FromDelimited, FromJson, FromTsv, Recordize, ToCsv, ToDelimited, ToInspect, ToJson, ToTsv
Constant Summary
Constants inherited from Wukong::Processor
Instance Attribute Summary
Attributes included from Hanuman::StageInstanceMethods
Instance Method Summary collapse
Methods inherited from Wukong::Processor
configure, description, #finalize, #perform_action, #process, #receive_action, #setup, #stop
Methods included from Logging
Methods inherited from Hanuman::Stage
Methods included from Hanuman::StageClassMethods
#builder, #label, #register, #set_builder
Methods included from Hanuman::StageInstanceMethods
#add_link, #linkable_name, #root
Instance Method Details
#handle_error(record, err) ⇒ Object
8 9 10 11 12 |
# File 'lib/wukong/widget/serializers.rb', line 8 def handle_error(record, err) return if err.class == Errno::EPIPE log.error "#{err.class}: #{err.}" err.backtrace.each { |line| log.debug(line) } end |