Sha256: ccb1680053ea2ae818fb1817a0fa0e84ffacbcb7b0c3359633414758ae635845

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

module Wukong
  class Sink < Processor
    
    class Stdout < Sink
      def process(record)
        begin
          $stdout.puts record
        rescue Errno::EPIPE => e
          exit(2)
        end
      end
      register
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wukong-3.0.0.pre2 lib/wukong/widget/sink.rb