class Isurvey::Answer
Attributes
result_id[RW]
Public Class Methods
by_result_id(id)
click to toggle source
# File lib/isurvey/answer.rb, line 11 def self.by_result_id(id) all.select do |answer| answer.result_id == id end end
Public Instance Methods
question()
click to toggle source
# File lib/isurvey/answer.rb, line 7 def question Question.find_by_screen_id(self.screen_id) end