Sha256: 1e62fa53344651dcab1d2b1fe77402c529574cd3cdc0716ee263977afe347eb2
Contents?: true
Size: 341 Bytes
Versions: 14
Compression:
Stored size: 341 Bytes
Contents
class Quiz::BALONDOR attr_accessor :winner, :year, :host, :runner_up @@all = [] def initialize(file) @@all << self file.each{|key,value| self.send("#{key}=", value)} end def self.balon_d_or(file) file.each{|e|Quiz::BALONDOR.new(e)} end def self.all @@all end end
Version data entries
14 entries across 14 versions & 2 rubygems