Sha256: 394afa51d7649a5e2a55eb7a8d49d9b343143f45cef6552a9ae9d280efdcac75

Contents?: true

Size: 262 Bytes

Versions: 18

Compression:

Stored size: 262 Bytes

Contents

module Wukong
  module Streamer
    class RecordStreamer < Wukong::Streamer::Base

      #
      # Default recordizer: returns array of fields by splitting at tabs
      #
      def recordize line
        line.split("\t") rescue nil
      end

    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
wukong-3.0.0.pre old/wukong/streamer/record_streamer.rb
wukong-2.0.2 lib/wukong/streamer/record_streamer.rb
wukong-2.0.1 lib/wukong/streamer/record_streamer.rb
wukong-2.0.0 lib/wukong/streamer/record_streamer.rb
wukong-1.5.4 lib/wukong/streamer/record_streamer.rb
wukong-1.5.3 lib/wukong/streamer/record_streamer.rb
wukong-1.5.2 lib/wukong/streamer/record_streamer.rb
wukong-1.5.1 lib/wukong/streamer/record_streamer.rb
wukong-1.5.0 lib/wukong/streamer/record_streamer.rb
wukong-1.4.12 lib/wukong/streamer/record_streamer.rb
wukong-1.4.11 lib/wukong/streamer/record_streamer.rb
wukong-1.4.10 lib/wukong/streamer/record_streamer.rb
wukong-1.4.9 lib/wukong/streamer/record_streamer.rb
wukong-1.4.7 lib/wukong/streamer/record_streamer.rb
wukong-1.4.6 lib/wukong/streamer/record_streamer.rb
wukong-1.4.5 lib/wukong/streamer/record_streamer.rb
wukong-1.4.2 lib/wukong/streamer/record_streamer.rb
wukong-1.4.1 lib/wukong/streamer/record_streamer.rb