Sha256: 43c53267d70c1a059acdb38f0a741d2d23cd132a6d5592eca3fd882c45c5eca5
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
module Firstjob class ExcelLevel EXCEL_LEVELS = YAML.load_file(File.join(File.dirname(__FILE__),"../data/excel_levels.yaml"))["excel_levels"].symbolize_keys! # Poor's man all def self.all EXCEL_LEVELS end # Poor's man find def self.find(id) EXCEL_LEVELS[id] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
firstjob-1.0.4 | lib/firstjob/excel_level.rb |
firstjob-1.0.1 | lib/firstjob/excel_level.rb |