module TableCopy

Constants

VERSION

Attributes

logger[W]

Public Class Methods

deferred_config(&block) click to toggle source
# File lib/table_copy.rb, line 21
def deferred_config(&block)
  @deferred_config = block
end
logger() click to toggle source
# File lib/table_copy.rb, line 8
def logger
  @logger ||= Logger.new($stdout)
end

Private Class Methods

configured?() click to toggle source
# File lib/table_copy.rb, line 39
def configured?
  @links && !@links.empty?
end
synchronized() { || ... } click to toggle source
# File lib/table_copy.rb, line 47
def synchronized
  @semaphore ||= Mutex.new
  @semaphore.synchronize do
    yield
  end
end