I need your guidence about environmental vaariable in ruby.
================================================
I have some code that convert version of device intedtifier => device name.. in my code, path:
Config-initilizer-android.rb
module Android
@conversion_table_of_model_id_and_device_name = {
'Anroid2,3' => 'Gingerbread',
'Android3,0' => 'Honeycomb',
'Android4,1' => 'ICS',
'Android4,2' => 'JB',
}
in the future, if there's another name of android eg.'KitKat'. i want to add it using environment variable not use the hard code. how can i to do it? is it possible to that? where should i put it?
regards. agstwn