class BnetScraper::Starcraft2::Match
Attributes
date[RW]
map_name[RW]
outcome[RW]
type[RW]
Public Instance Methods
lost?()
click to toggle source
# File lib/bnet_scraper/starcraft2/match.rb, line 10 def lost? @outcome == :loss end
won?()
click to toggle source
# File lib/bnet_scraper/starcraft2/match.rb, line 6 def won? @outcome == :won end