module RedisCopy::UI

Public Class Methods

new(options) click to toggle source
# File lib/redis-copy/ui.rb, line 7
def initialize(options)
  @options = options
end

Public Instance Methods

abort(message = nil) click to toggle source
Calls superclass method
# File lib/redis-copy/ui.rb, line 16
def abort(message = nil)
  return super if defined?(super)
  raise NotImplementedError
end
confirm?(prompt) click to toggle source
Calls superclass method
# File lib/redis-copy/ui.rb, line 11
def confirm?(prompt)
  return super if defined?(super)
  raise NotImplementedError
end
debug(message) click to toggle source
# File lib/redis-copy/ui.rb, line 26
def debug(message)
  notify(message) if @options[:debug]
end
notify(message) click to toggle source
Calls superclass method
# File lib/redis-copy/ui.rb, line 21
def notify(message)
  return super if defined?(super)
  raise NotImplementedError
end