class SleeperRb::Resources::LeagueArray
Implements SleeperRb::Utilities::ArrayProxy
and wraps League
objects.
Public Instance Methods
best_ball()
click to toggle source
Returns leagues which are set to Best Ball mode.
@return [SleeperRb::Resources::LeagueArray
]
# File lib/sleeper_rb/resources/league_array.rb, line 12 def best_ball where(best_ball: true) end
half_ppr()
click to toggle source
Returns leagues which use Half-PPR scoring.
@return [SleeperRb::Resources::LeagueArray
]
# File lib/sleeper_rb/resources/league_array.rb, line 28 def half_ppr where(half_ppr?: true) end
ppr()
click to toggle source
Returns leagues which use PPR scoring.
@return [SleeperRb::Resources::LeagueArray
]
# File lib/sleeper_rb/resources/league_array.rb, line 20 def ppr where(ppr?: true) end
standard()
click to toggle source
Returns leagues which use Standard (Zero PPR) scoring.
@return [SleeperRb::Resources::LeagueArray
]
# File lib/sleeper_rb/resources/league_array.rb, line 36 def standard where(standard?: true) end