Class: YNODK
- Inherits:
-
CommonLib::TranslationTable
- Object
- CommonLib::TranslationTable
- YNODK
- Defined in:
- lib/common_lib/translation_table.rb
Overview
same in ruby 1.8.7 (basically object id)
Class Method Summary collapse
Methods inherited from CommonLib::TranslationTable
[], selector_options, valid_values
Class Method Details
.table ⇒ Object
73 74 75 76 77 78 79 80 |
# File 'lib/common_lib/translation_table.rb', line 73 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" } ] end |