class RecordsCount::Warning

Constants

WARNING_TIME

Attributes

duration[R]

Public Class Methods

new(start, finish) click to toggle source
# File lib/records_count.rb, line 42
def initialize(start, finish)
  @duration = (finish - start).round(1)
end

Public Instance Methods

format() { || ... } click to toggle source
# File lib/records_count.rb, line 46
def format
  -> { Colorizer.yellow(yield) }
end
print() click to toggle source