Sha256: 12c23e00e46380f51734ec26c5ea14bbd09ae80dc1b178873da7dbb6e47a6fef

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

module BackgrounDRb
  module ClientHelper
    def gen_worker_key(worker_name,worker_key = nil)
      return worker_name.to_sym if worker_key.nil?
      return "#{worker_name}_#{worker_key}".to_sym
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backgroundrb-rails3-1.1.6 lib/backgroundrb/bdrb_client_helper.rb
backgroundrb-rails3-1.1.5 lib/backgroundrb/bdrb_client_helper.rb
backgroundrb-rails3-1.1.3 lib/backgroundrb/bdrb_client_helper.rb
backgroundrb-rails3-1.1.2 lib/backgroundrb/bdrb_client_helper.rb
backgroundrb-rails3-1.1.1 lib/backgroundrb/bdrb_client_helper.rb
backgroundrb-rails3-1.1 lib/backgroundrb/bdrb_client_helper.rb