Class: Struct

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

Overview

Extend Struct

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/Struct.rb', line 6

def boxscore(f_mat = nil)
  EspnScrape.boxscore(boxscore_id, (f_mat || :to_structs))
end