class BoxingSchedules::Fight

Attributes

channel_location[RW]
fight_details[RW]
fight_time[RW]
fight_url[RW]
fighter_names[RW]

Public Class Methods

all() click to toggle source

displays all fight objects

# File lib/boxing-schedules/fight.rb, line 12
def self.all
  @@all
end

Public Instance Methods

save() click to toggle source

saves all fight objects

# File lib/boxing-schedules/fight.rb, line 7
def save
  @@all << self
end