Sha256: 44cf5829653344d75717696a39747be7f6ab219b5839c85cf09fdfcbeda044aa
Contents?: true
Size: 453 Bytes
Versions: 5
Compression:
Stored size: 453 Bytes
Contents
module Reqless class QueuePriorityPattern attr_reader :pattern, :should_distribute_fairly def initialize(pattern, should_distribute_fairly = false) @pattern = pattern @should_distribute_fairly = should_distribute_fairly end def ==(other) return self.class == other.class && self.pattern.join == other.pattern.join && self.should_distribute_fairly == other.should_distribute_fairly end end end
Version data entries
5 entries across 5 versions & 1 rubygems