module HoldingHelper def bet_statement(holding) round_names = ["Sweet Sixteen", "Elite Eight", "Final Four", "Championship Game"] if holding.shares > 0 return "winning in the #{round_names[holding.market.round - 1]}" else return "not winning in the #{round_names[holding.market.round-1]}" end end end