lib/nfl_data/models/team.rb in nfl_data-0.0.10 vs lib/nfl_data/models/team.rb in nfl_data-0.0.11

- old
+ new

@@ -16,11 +16,11 @@ def initialize @games = [] end def to_hash - @games.map { |game| game.to_hash } + @games.map(&:to_hash) end class Game attr_accessor :week, :opponent, :date, :home_game @@ -31,9 +31,8 @@ date: date, home_game: home_game } end end - end end end