Module: Ritsu::Utility::Files

Defined in:
lib/ritsu/utility/files.rb

Class Method Summary collapse

Class Method Details

.read(filename) ⇒ Object



4
5
6
7
8
9
# File 'lib/ritsu/utility/files.rb', line 4

def read(filename)
  f = File.new(filename)
  result = f.read
  f.close
  result
end