Method: Player.inactive
- Defined in:
- lib/player.rb
.inactive ⇒ Object
returns inactive players
19 20 21 |
# File 'lib/player.rb', line 19 def self.inactive self.injuries(5).select { |player| player['DeclaredInactive'] if player['DeclaredInactive'] == true} end |