class Oni::Worker
An abstract worker class that takes care of some common boilerplate code.
Public Instance Methods
process()
click to toggle source
Runs the worker and returns some kind of output.
@return [Mixed] @raise [NotImplementedError]
# File lib/oni/worker.rb, line 14 def process raise NotImplementedError, 'You must implement #process yourself' end