lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.6 vs lib/sportradar/api/soccer/match.rb in sportradar-api-0.13.7
- old
+ new
@@ -150,9 +150,10 @@
def closed?
'closed' == status
end
def clock_display
+ return unless @match_status
if @match_time == '45:00' || @match_time == '90:00' # stoppage time
@match_time.split(':').first + ?'
else
@match_time.split(':').first + ?'
end