Class: RedisCopy::UI::AutoRun
- Inherits:
-
Object
- Object
- RedisCopy::UI::AutoRun
- Defined in:
- lib/redis-copy/ui/auto_run.rb
Instance Method Summary collapse
Instance Method Details
#abort(message = nil) ⇒ Object
12 13 14 |
# File 'lib/redis-copy/ui/auto_run.rb', line 12 def abort( = nil) raise RuntimeError, end |
#confirm?(prompt) ⇒ Boolean
8 9 10 11 |
# File 'lib/redis-copy/ui/auto_run.rb', line 8 def confirm?(prompt) $stderr.puts(prompt) true end |
#notify(message) ⇒ Object
15 16 17 |
# File 'lib/redis-copy/ui/auto_run.rb', line 15 def notify() $stderr.puts() end |