PROBLEMS_DIR = "/home/jittat/grader/ev" USER_RESULT_DIR = "/home/jittat/grader/result" TALKATIVE = true def report_comment(comment) if comment.chomp =~ /^P+$/ # all P's 'passed' else 'failed' end end