README.rdoc in rrschedule-0.1.4 vs README.rdoc in rrschedule-0.1.5
- old
+ new
@@ -84,13 +84,13 @@
games.each do |g|
puts g.game_date.to_s + " on playing surface " + g.playing_surface.to_s + " at " + g.game_time.to_s
end
=== Iterate through schedule
- schedule.gamedays.each do |gd,games|
- puts gd
+ schedule.gamedays.each do |gd|
+ puts gd.date
puts "===================="
- games.each do |g|
+ gd.games.each do |g|
puts g.team_a.to_s + " Vs " + g.team_b.to_s + " on playing surface ##{g.playing_surface} at #{g.game_time}"
end
puts "\n"
end