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

5 lines
113 B
Ruby

module DataHelper
def data_from(identifier)
@items["/data/#{identifier}.yaml"].attributes[:data]
end
end