# File daybook/mycgi/daybook/base/daybook_mod.rb, line 24 def read_file(path_file) str = "" begin open(path_file, "r") do |s| str = s.read end rescue SystemCallError $stderr.print "IO failes: " + $! raise end return str end