class Superbowl::Contestant
Public Instance Methods
expected_roi()
click to toggle source
# File lib/superbowl/contestant.rb, line 8 def expected_roi 100 * (expected_payout - total_investment) / total_investment end
total_investment()
click to toggle source
# File lib/superbowl/contestant.rb, line 4 def total_investment 10.0 * num_squares end