Class: Vsvipergen::ViperFileReader
- Inherits:
-
Object
- Object
- Vsvipergen::ViperFileReader
- 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 |