lib/firstjob/university.rb in firstjob-1.0.0 vs lib/firstjob/university.rb in firstjob-1.0.1
- old
+ new
@@ -1,7 +1,7 @@
module Firstjob
class University
- UNIVERSITIES = YAML.load_file("lib/data/universities.yaml")["universities"].symbolize_keys!
+ UNIVERSITIES = YAML.load_file(File.join(File.dirname(__FILE__),"../data/universities.yaml"))["universities"].symbolize_keys!
# Poor's man all
def self.all
UNIVERSITIES
end