Class: Amalgalite::ProgressHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/amalgalite/progress_handler.rb

Overview

A base class for use in creating your own progress handler classes

Instance Method Summary collapse

Instance Method Details

#arityObject

the arity of the call method



11
# File 'lib/amalgalite/progress_handler.rb', line 11

def arity() 0 ; end

#callObject

Override this method, returning false if the SQLite should act as if interrupt! had been invoked.

Raises:

  • (NotImplementedError)


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_procObject



6
7
8
# File 'lib/amalgalite/progress_handler.rb', line 6

def to_proc
  self
end