Class: Converter

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

Direct Known Subclasses

ConverterJSON, ConverterTxt, ConverterYAML

Instance Method Summary collapse

Instance Method Details

#read_file(file_content) ⇒ Object

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/source/Converter.rb', line 4

def read_file(file_content)
  raise NotImplementedError, 'Abstract class!'
end

#write_file(hash_students) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/source/Converter.rb', line 8

def write_file(hash_students)
  raise NotImplementedError, 'Abstract class!'
end