Sha256: 4dbed9067a521fc8c5e6ab3cb4653b3d8e4fc3b24849f61f6acd0b62740d1097

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

module GoodJob
  class Performer
    def initialize(target, method_name)
      @target = target
      @method_name = method_name
    end

    def next
      @target.public_send(@method_name)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
good_job-1.0.3 lib/good_job/performer.rb
good_job-1.0.2 lib/good_job/performer.rb
good_job-1.0.1 lib/good_job/performer.rb
good_job-1.0.0 lib/good_job/performer.rb
good_job-0.9.0 lib/good_job/performer.rb