Methods
dir?
read
Public Class methods
for corrupted Windows’ stat(2)
[ + ]
# File lib/setup/rubyver.rb, line 22 def File.dir?(path) File.directory?((path[-1,1] == '/') ? path : path + '/') end
[ + ]
# File lib/setup/rubyver.rb, line 6 def File.read(fname) open(fname) {|f| return f.read } end