class CFB::Game

Public Instance Methods

date=(val)
Alias for: start_date=
start_date=(val) click to toggle source
Calls superclass method
# File lib/cfb_api/models.rb, line 78
def start_date=(val)
  val = Date.strptime(val) if val.is_a? String
  super(val)
end
Also aliased as: date=
to_s() click to toggle source
# File lib/cfb_api/models.rb, line 83
def to_s
  "#{away_team} @ #{home_team} (Week #{week}, #{season})"
end