3 4 5 6 7 8 9 10 11 12 13 14 15 16
# File 'lib/models/question_reply_type.rb', line 3 def self.to_sym(query) case query.value(QV.replyType) when QV.Number :number when QV.Location :location when QV.Temperature :temperature when QV.Select :select else nil end end