Method: Stupidedi::Reader::Failure#==

Defined in:
lib/stupidedi/reader/result.rb

#==(other) ⇒ Boolean

Returns:

  • (Boolean)


141
142
143
144
145
146
147
# File 'lib/stupidedi/reader/result.rb', line 141

def ==(other)
  if other.is_a?(self.class)
    @reason == other.reason
  else
    @reason == other
  end
end