Class: Octave::Dispatcher::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/octave/dispatcher/base.rb

Direct Known Subclasses

Logger

Instance Method Summary collapse

Instance Method Details

#call(_payload) ⇒ Object

This method will be called evey time a Payload is dispatched.

Raises:

  • (NotImplementedError)


5
6
7
# File 'lib/octave/dispatcher/base.rb', line 5

def call(_payload)
  raise NotImplementedError
end

#closeObject

Close any necessary



10
11
12
# File 'lib/octave/dispatcher/base.rb', line 10

def close
  true
end