Sha256: 7f91267e3dbb69213d70d12f61a847f1a76b219862190c3b36f5a8b045129fc8

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

require 'table_print'

module Chronicle
  module Etl
    module Loaders
      class Table < Chronicle::Etl::Loaders::Loader
        def initialize(options)
          super(options)
          @rows = []
        end

        def load(result)
          @rows << result
        end

        def finish
          tp @rows
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chronicle-etl-0.1.2 lib/chronicle/etl/loaders/table.rb
chronicle-etl-0.1.1 lib/chronicle/etl/loaders/table.rb
chronicle-etl-0.1.0 lib/chronicle/etl/loaders/table.rb