Class: Firstjob::CareerStatus
- Inherits:
-
Object
- Object
- Firstjob::CareerStatus
- Defined in:
- lib/firstjob/career_status.rb
Constant Summary collapse
- CAREER_STATUSES =
YAML.load_file(File.join(File.dirname(__FILE__),"../data/career_statuses.yaml"))["career_statuses"].symbolize_keys!
Class Method Summary collapse
-
.all ⇒ Object
Poor’s man all.
-
.find(id) ⇒ Object
Poor’s man find.
Class Method Details
.all ⇒ Object
Poor’s man all
6 7 8 |
# File 'lib/firstjob/career_status.rb', line 6 def self.all CAREER_STATUSES end |
.find(id) ⇒ Object
Poor’s man find
11 12 13 |
# File 'lib/firstjob/career_status.rb', line 11 def self.find(id) CAREER_STATUSES[id] end |