Sha256: 6f05c8806752808251141824b8cf51b8c959e826251a76574921b31dff27ef06
Contents?: true
Size: 415 Bytes
Versions: 8
Compression:
Stored size: 415 Bytes
Contents
module ETL #:nodoc: module Execution #:nodoc: # Represents a single record class Record < ETL::Execution::Base belongs_to :table class << self attr_accessor :time_spent def time_spent @time_spent ||= 0 end def average_time_spent return 0 if time_spent == 0 ETL::Engine.rows_read / time_spent end end end end end
Version data entries
8 entries across 8 versions & 3 rubygems