class MasterLeague::Draft
Public Instance Methods
bans()
click to toggle source
# File lib/master_league/draft.rb, line 14 def bans @bans ||= ban_ids.map do |hero_id| HeroRepository.new.find(hero_id) end end
team()
click to toggle source
# File lib/master_league/draft.rb, line 10 def team @team ||= TeamRepository.new.find(team_id) if team_id end