Sha256: 9919231974c361925a1b2e094978d514f1698b5f6b86f0068b2cb784134b14a0

Contents?: true

Size: 156 Bytes

Versions: 6

Compression:

Stored size: 156 Bytes

Contents

module Delayed::ShallowMongoid
  class DocumentStub < Struct.new(:klass, :id)
    def display_name
      "#{klass}[#{id}]##{method_name}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
delayed_job_shallow_mongoid-0.2.6 lib/delayed/shallow_mongoid/document_stub.rb
delayed_job_shallow_mongoid-0.2.5 lib/delayed/shallow_mongoid/document_stub.rb
delayed_job_shallow_mongoid-0.2.4 lib/delayed/shallow_mongoid/document_stub.rb
delayed_job_shallow_mongoid-0.2.3 lib/delayed/shallow_mongoid/document_stub.rb
delayed_job_shallow_mongoid-0.2.2 lib/delayed/shallow_mongoid/document_stub.rb
delayed_job_shallow_mongoid-0.2.1 lib/delayed/shallow_mongoid/document_stub.rb