Class: I15R::FileReader

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

Instance Method Summary collapse

Instance Method Details

#read(file) ⇒ Object



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

def read(file)
  File.read(File.expand_path(file)).force_encoding("UTF-8")
end