Sha256: 8a8a053f52f820250ebc5f74c80480d37ae9713b603443618ec90ea65259c386

Contents?: true

Size: 340 Bytes

Versions: 66

Compression:

Stored size: 340 Bytes

Contents

# UsedInWorker can be included in classes that you are merging in order to get some of the SimpleWorker features into that class.
# For instance, you can use the log() method and it will be logged to the SimpleWorker logs.

module SimpleWorker
    module UsedInWorker

        def log(str)
            puts str.to_s
        end
    end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
simple_worker-3.0.0 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.10 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.9 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.8 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.6 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.5 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.4 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.3 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.2 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.1 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.17 lib/simple_worker/used_in_worker.rb
simple_worker-1.0.14 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.16 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.15 lib/simple_worker/used_in_worker.rb
simple_worker-1.0.13 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.11 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.10 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.9 lib/simple_worker/used_in_worker.rb
simple_worker-2.0.0.beta.8 lib/simple_worker/used_in_worker.rb
simple_worker-1.0.12 lib/simple_worker/used_in_worker.rb