lib/firstjob/excel_level.rb in firstjob-1.0.0 vs lib/firstjob/excel_level.rb in firstjob-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Firstjob
class ExcelLevel
- EXCEL_LEVELS = YAML.load_file("lib/data/excel_levels.yaml")["excel_levels"].symbolize_keys!
+ 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