Class: Hash

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

Overview

Extend Hash

Instance Method Summary collapse

Instance Method Details

#boxscore(f_mat = nil) ⇒ NbaBoxscore

Get an NbaBoxscore

Parameters:

  • Format (Symbol)

Returns:

  • (NbaBoxscore)

    Boxscore



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

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