Method: Qs::Event#==

Defined in:
lib/qs/event.rb

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/qs/event.rb', line 40

def ==(other)
  if other.kind_of?(self.class)
    self.payload_type == other.payload_type &&
    self.channel      == other.channel      &&
    self.name         == other.name         &&
    self.params       == other.params       &&
    self.publisher    == other.publisher    &&
    self.published_at == other.published_at
  else
    super
  end
end