Sha256: c8ecbb295e18d191ee8cdc22c5aa17614caed864d47a3ec7e45a9df9110f5df5
Contents?: true
Size: 633 Bytes
Versions: 3
Compression:
Stored size: 633 Bytes
Contents
# encoding: utf-8 module RedisCopy module UI extend Implements::Interface def initialize(options) @options = options end def confirm?(prompt) return super if defined?(super) raise NotImplementedError end def abort(message = nil) return super if defined?(super) raise NotImplementedError end def notify(message) return super if defined?(super) raise NotImplementedError end def debug(message) notify(message) if @options[:debug] end end end # load the bundled uis: require_relative 'ui/auto_run' require_relative 'ui/command_line'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
redis-copy-1.0.0 | lib/redis-copy/ui.rb |
redis-copy-1.0.0.rc.1 | lib/redis-copy/ui.rb |
redis-copy-1.0.0.rc.0 | lib/redis-copy/ui.rb |