class TopCompanies::Sector

Attributes

name[RW]

Public Class Methods

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