zeus.ugent.be/lib/helpers/data.rb

6 lines
102 B
Ruby
Raw Normal View History

2016-08-02 19:54:18 +02:00
module DataHelper
def data_from(identifier)
2016-08-04 19:06:36 +02:00
YAML.load_file("data/#{identifier}.yaml")
2016-08-02 19:54:18 +02:00
end
end