app/models/offerings/offering_interview.rb
def decision
    if applicant.nil?
      nil
    else
      if applicant.interview_decision_made?
        applicant.interview_committee_decision
      else
        time_passed? ? "Waiting" : "Not Started"
      end
    end
  end
# Returns a textual representation of the current state of the decision for this interview. Valid return values include:
# - Waiting: the interview is complete but no decision has been entered
# - Not Started: The interview has not yet taken place
# - Yes, No, Yes with contingency, etc.: The final decision in text form
Returns a textual representation of the current state of the decision for this interview. Valid return values include:
Waiting: the interview is complete but no decision has been entered
Not Started: The interview has not yet taken place
Yes, No, Yes with contingency, etc.: The final decision in text form
Returns a textual representation of the current state of the decision for this interview . Valid return values include : Waiting : the interview is complete but no decision has been entered Not Started : The interview has not yet taken place Yes No Yes with contingency etc . : The final decision in text form
def decision
    if applicant.nil?
      nil
    else
      if applicant.interview_decision_made?
        applicant.interview_committee_decision
      else
        time_passed? ? "Waiting" : "Not Started"
      end
    end
  end
def decision if applicant . nil? nil else if applicant . interview_decision_made? applicant . interview_committee_decision else time_passed? ? "Waiting" : "Not Started" end end end
Returns a textual representation of the current state of the decision for this interview.
Returns a textual representation of the current state of the decision for this interview .