Class: FileReader

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

Class Method Summary collapse

Class Method Details

.read(file_and_path) ⇒ Object



3
4
5
# File 'lib/file_reader.rb', line 3

def self.read(file_and_path)
  File.open(file_and_path).read
end