Class: YNORDK

Inherits:
CommonLib::TranslationTable show all
Defined in:
lib/common_lib/translation_table.rb

Class Method Summary collapse

Methods inherited from CommonLib::TranslationTable

[], selector_options, valid_values

Class Method Details

.tableObject



93
94
95
96
97
98
99
100
101
# File 'lib/common_lib/translation_table.rb', line 93

def self.table
	@@table ||= [
		{ :value => 1,   :short => 'yes',     :long => "Yes" },
		{ :value => 2,   :short => 'no',      :long => "No" },
		{ :value => 3,   :short => 'other',   :long => "Other" },
		{ :value => 999, :short => 'dk',      :long => "Don't Know" },
		{ :value => 888, :short => 'refused', :long => "Refused" }
	]
end