Sha256: 9bf98f6245073b2a9a4c8de189e52a2b8be5d059d766c7a8bed125fc240a2edb
Contents?: true
Size: 336 Bytes
Versions: 3
Compression:
Stored size: 336 Bytes
Contents
# This is an abstract module that developers creating works can mixin/include to use the SimpleWorker special functions. module SimpleWorker class Base def log(str) puts str.to_s end def set_progress(hash) puts 'set_progress: ' + hash.inspect end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simple_worker-0.1.2 | lib/worker.rb |
simple_worker-0.1.1 | lib/worker.rb |
simple_worker-0.1.0 | lib/worker.rb |