Method: Oddsmaker::Odd::ImpliedProbability#==
- Defined in:
- lib/oddsmaker/odd/implied_probability.rb
#==(other) ⇒ Boolean
Check two odds for equality.
46 47 48 49 50 51 52 |
# File 'lib/oddsmaker/odd/implied_probability.rb', line 46 def ==(other) if other.is_a?(self.class) @value == other.value else @value == other.implied_probability.value end end |