4 lines
199 B
Ruby
4 lines
199 B
Ruby
|
#data = File.open(File.join(RAILS_ROOT, 'config', 'list.yml')).read
|
||
|
data = File.open(File.join(Rails.root, 'config', 'list.yml')).read
|
||
|
LIST = YAML::load(ERB.new(data).result(binding)).symbolize_keys
|