class TopCompanies::CEO

Attributes

name[RW]

Public Class Methods

all() click to toggle source
# File lib/top_companies/ceo.rb, line 11
def self.all
    @@all
end
new(name = nil) click to toggle source
# File lib/top_companies/ceo.rb, line 6
def initialize(name = nil)
    @name = name
    @@all << self
end