Module: Wal

Defined in:
lib/wal.rb,
lib/wal/version.rb,
lib/wal/watcher.rb,
lib/wal/migration.rb,
lib/wal/replicator.rb,
lib/wal/noop_watcher.rb,
lib/wal/record_watcher.rb,
lib/wal/streaming_watcher.rb,
lib/wal/generators/migration.rb,
lib/wal/active_record_context_extension.rb

Defined Under Namespace

Modules: ActiveRecordContextExtension, ChangeEvent, Generators, Migration, TableName, Watcher Classes: BeginTransactionEvent, CommitTransactionEvent, DeleteEvent, InsertEvent, NoopWatcher, RecordWatcher, Replicator, StreamingWatcher, UpdateEvent

Constant Summary collapse

VERSION =
"0.0.23"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



16
17
18
# File 'lib/wal.rb', line 16

def logger
  @logger
end

Class Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Wal)

    the object that the method was called on



19
20
21
# File 'lib/wal.rb', line 19

def self.configure(&block)
  yield self
end