Method: Option#==

Defined in:
lib/option.rb

#==(other) ⇒ Object



64
65
66
67
68
# File 'lib/option.rb', line 64

def ==(other)
  other.stock == stock &&
    other.strike == strike &&
    other.expires == expires
end