Class: SportDb::Stats
- Inherits:
-
Object
- Object
- SportDb::Stats
- Includes:
- Models
- Defined in:
- lib/sportdb/models/stats.rb
Constant Summary
Constants included from Models
Models::Comp, Models::Competition, Models::Game, Models::LineUp, Models::Squad
Instance Method Summary collapse
Instance Method Details
#tables ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/sportdb/models/stats.rb', line 7 def tables puts " #{League.count} leagues / #{Season.count} seasons" puts " #{Event.count} events (league+season recs) / #{Round.count} rounds / #{Group.count} groups / #{Stage.count} stages" puts " #{Team.count} teams" puts " #{Match.count} matches" puts " #{Badge.count} badges" puts " #{Lineup.count} lineups (person+team+event recs)" puts " #{Goal.count} goals (person+match recs)" puts " #{Assoc.count} assocs|orgs" puts " #{Ground.count} grounds|stadiums" end |