Show More
Commit Description:
[web] add test result page...
Commit Description:
[web] add test result page git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@159 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/helpers/test_helper.rb | 11 lines | 148 B | text/x-ruby | RubyLexer |
jittat
moved test interface functionality to test_controller...
r44 module TestHelper
jittat
[web] add test result page...
r79
def read_textfile(fname,max_size=2048)
begin
File.open(fname).read(max_size)
rescue
nil
end
end
jittat
moved test interface functionality to test_controller...
r44 end