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