Sha256: 87a17d64f92420cc89655bced44bab480fe7ea19765ffac5b5b6227ea27669c6

Contents?: true

Size: 166 Bytes

Versions: 13

Compression:

Stored size: 166 Bytes

Contents

class LengthWorker < BaseRequestWorker

  virtual_topic 'test_string'
  response :marshal => :ruby, :time_to_live => 5000

  def request(obj)
    obj.length
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
modern_times-0.3.12 examples/advanced_requestor/length_worker.rb
modern_times-0.3.11 examples/advanced_requestor/length_worker.rb
modern_times-0.3.10 examples/advanced_requestor/length_worker.rb
modern_times-0.3.9 examples/advanced_requestor/length_worker.rb
modern_times-0.3.8 examples/advanced_requestor/length_worker.rb
modern_times-0.3.7 examples/advanced_requestor/length_worker.rb
modern_times-0.3.6 examples/advanced_requestor/length_worker.rb
modern_times-0.3.5 examples/advanced_requestor/length_worker.rb
modern_times-0.3.4 examples/advanced_requestor/length_worker.rb
modern_times-0.3.3 examples/advanced_requestor/length_worker.rb
modern_times-0.3.2 examples/advanced_requestor/length_worker.rb
modern_times-0.3.1 examples/advanced_requestor/length_worker.rb
modern_times-0.3.0 examples/advanced_requestor/length_worker.rb