Skip to content

Commit 07ea29d

Browse files
committed
added Match#replays to the evergrowing list of mashes
1 parent 11c54d3 commit 07ea29d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/esdb/match.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ def map
1818
Hashie::Mash.new(self.to_hash['map'])
1919
end
2020

21+
def replays
22+
self.to_hash['replays'].collect{|replay| Hashie::Mash.new(replay)}
23+
end
24+
2125
# Combines all entities into a hash keys with the team number
2226
def teams
2327
entities.inject({}){|teams, entity|

0 commit comments

Comments
 (0)