Class: YNDK

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

unique translation table



44
45
46
47
48
49
50
# File 'lib/common_lib/translation_table.rb', line 44

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