class String

Extend String

Public Instance Methods

roster(f_mat = nil) click to toggle source

Get an NbaRoster @param [Symbol] Format @return [NbaRoster] Roster

# File lib/hoopscrape/String.rb, line 6
def roster(f_mat = nil)
  HoopScrape.roster(self, format: f_mat)
end
schedule(f_mat = nil) click to toggle source

Get an NbaSchedule @param (see roster) @return [NbaSchedule] Schedule

# File lib/hoopscrape/String.rb, line 13
def schedule(f_mat = nil)
  HoopScrape.schedule(self, format: f_mat)
end