Skip to content

Instantly share code, notes, and snippets.

@jemmons
Created February 10, 2010 19:23
Show Gist options
  • Save jemmons/300744 to your computer and use it in GitHub Desktop.
Save jemmons/300744 to your computer and use it in GitHub Desktop.
def self.assessment_note_value_for(company, question)
if self.assessment_question_value_for(company, question).not_nil?
if(set = company.question_set)
if(CUSTOM_QQ_NOTES[set])
return CUSTOM_QQ_NOTES[set][question.dss_version][question.number]
end
end
end
end
def self.assessment_description_value_for(company, question)
if self.assessment_question_value_for(company, question).not_nil?
if(set = company.question_set)
if(CUSTOM_QQ_DESCRIPTIONS[set])
return CUSTOM_QQ_DESCRIPTIONS[set][question.dss_version][question.number]
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment