Method: Oddsmaker::Odd::Base#==

Defined in:
lib/oddsmaker/odd/base.rb

#==(other) ⇒ Boolean

Check two odds for equality.

Parameters:

Returns:

  • (Boolean)


50
51
52
# File 'lib/oddsmaker/odd/base.rb', line 50

def ==(other)
  implied_probability == other.implied_probability
end