Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/hoopscrape/Hash.rb

Overview

Extend Hash

Instance Method Summary collapse

Instance Method Details

#boxscore(f_mat = nil) ⇒ NbaBoxscore

Get an NbaBoxscore



6
7
8
# File 'lib/hoopscrape/Hash.rb', line 6

def boxscore(f_mat = nil)
  HoopScrape.boxscore(self[:boxscore_id], (f_mat || :to_hashes))
end