5 lines
102 B
Ruby
5 lines
102 B
Ruby
module DataHelper
|
|
def data_from(identifier)
|
|
YAML.load_file("data/#{identifier}.yaml")
|
|
end
|
|
end
|