class PaperTrailScrapbook::Config

Global configuration affecting all threads.

Constants

DEFAULT_EVENTS
DEFAULT_TIME_FORMAT
SCRUB_COLUMNS
UNKNOWN_WHODUNNIT

Attributes

drop_id_suffix[RW]
events[RW]
filter_non_changes[RW]
invalid_whodunnit[RW]
recent_first[RW]
scrub_columns[RW]
time_format[RW]
unknown_whodunnit[RW]
whodunnit_class[RW]

Public Class Methods

new() click to toggle source
# File lib/paper_trail_scrapbook/config.rb, line 28
def initialize
  @whodunnit_class    = nil
  @time_format        = DEFAULT_TIME_FORMAT
  @events             = DEFAULT_EVENTS
  @scrub_columns      = SCRUB_COLUMNS
  @unknown_whodunnit  = UNKNOWN_WHODUNNIT
  @invalid_whodunnit  = proc { |w| "*missing (#{w})*" }
  @drop_id_suffix     = true
  @filter_non_changes = true
  @recent_first       = false
end