Class: FileReader

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

Class Method Summary collapse

Class Method Details

.read_dictionary(dictionary) ⇒ Object



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

def self.read_dictionary(dictionary)
  read_file(path_to_dictionary(dictionary))
end

.read_format(format) ⇒ Object



7
8
9
# File 'lib/file_reader.rb', line 7

def self.read_format(format)
  read_file(path_to_format(format))
end