Class: Decision
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Decision
- Defined in:
- model/decision.rb
Constant Summary collapse
- NO_DECISION =
'ND'
- N_EST =
{ 'yes' => :Yes, 'no' => :No, 'undecided' => :Undecided, Decision::NO_DECISION => :Without_decision, }
Class Method Summary collapse
Class Method Details
.get_name_decision(x) ⇒ Object
44 45 46 |
# File 'model/decision.rb', line 44 def self.get_name_decision(x) x.nil? ? N_EST[NO_DECISION] :N_EST[x] end |