Sha256: 369a490759b867cae525a4a754e5c7589065c065919407eccdd80ed98b9e4574

Contents?: true

Size: 334 Bytes

Versions: 25

Compression:

Stored size: 334 Bytes

Contents

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

module IronWorker
    module UsedInWorker

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
iron_worker-2.3.1 lib/iron_worker/used_in_worker.rb
iron_worker-2.3.0 lib/iron_worker/used_in_worker.rb
iron_worker-2.2.0 lib/iron_worker/used_in_worker.rb
iron_worker-2.1.1 lib/iron_worker/used_in_worker.rb
iron_worker-2.1.0 lib/iron_worker/used_in_worker.rb