Class: Amalgalite::ProgressHandler
- Inherits:
-
Object
- Object
- Amalgalite::ProgressHandler
- Defined in:
- lib/amalgalite/progress_handler.rb
Overview
A base class for use in creating your own progress handler classes
Instance Method Summary collapse
-
#arity ⇒ Object
the arity of the call method.
-
#call ⇒ Object
Override this method, returning
false
if the SQLite should act as ifinterrupt!
had been invoked. - #to_proc ⇒ Object
Instance Method Details
#arity ⇒ Object
the arity of the call method
11 |
# File 'lib/amalgalite/progress_handler.rb', line 11 def arity() 0 ; end |
#call ⇒ Object
Override this method, returning false
if the SQLite should act as if interrupt!
had been invoked.
17 18 19 |
# File 'lib/amalgalite/progress_handler.rb', line 17 def call raise NotImplementedError, "The progress handler call() method must be implemented" end |
#to_proc ⇒ Object
6 7 8 |
# File 'lib/amalgalite/progress_handler.rb', line 6 def to_proc self end |