Class: Vsvipergen::ViperFileReader

Inherits:
Object
  • Object
show all
Defined in:
lib/vsvipergen.rb

Instance Method Summary collapse

Instance Method Details

#readFile(filePath) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/vsvipergen.rb', line 27

def readFile (filePath)
  file = File.open(filePath, "r")
  fileContents = file.read
  file.close

  return fileContents
end