Module: Waldit

Extended by:
Context
Defined in:
lib/waldit.rb,
lib/waldit/record.rb,
lib/waldit/context.rb,
lib/waldit/railtie.rb,
lib/waldit/sidekiq.rb,
lib/waldit/version.rb,
lib/waldit/watcher.rb,
lib/waldit/migration.rb,
lib/waldit/postgresql_adapter.rb

Defined Under Namespace

Modules: Context, Migration, Record, Sidekiq Classes: PostgreSQLAdapter, Railtie, Watcher

Constant Summary collapse

VERSION =
"0.0.27"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.context_prefixObject

Returns the value of attribute context_prefix.



41
42
43
# File 'lib/waldit.rb', line 41

def context_prefix
  @context_prefix
end

.ignored_columnsObject

Returns the value of attribute ignored_columns.



39
40
41
# File 'lib/waldit.rb', line 39

def ignored_columns
  @ignored_columns
end

.large_transaction_thresholdObject

Returns the value of attribute large_transaction_threshold.



42
43
44
# File 'lib/waldit.rb', line 42

def large_transaction_threshold
  @large_transaction_threshold
end

.modelObject

Returns the value of attribute model.



40
41
42
# File 'lib/waldit.rb', line 40

def model
  @model
end

.store_changesObject

Returns the value of attribute store_changes.



24
25
26
# File 'lib/waldit.rb', line 24

def store_changes
  @store_changes
end

.watched_tablesObject

Returns the value of attribute watched_tables.



13
14
15
# File 'lib/waldit.rb', line 13

def watched_tables
  @watched_tables
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Waldit)

    the object that the method was called on



45
46
47
# File 'lib/waldit.rb', line 45

def self.configure(&block)
  yield self
end