Class: Data_storage_strategy
- Inherits:
-
Object
- Object
- Data_storage_strategy
- Defined in:
- lib/models/data_storage_strategy/data_storage_strategy.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#read(file_path) ⇒ Object
read from file.
-
#write(file_path, students) ⇒ Object
write to file.
Instance Method Details
#read(file_path) ⇒ Object
read from file
3 4 5 |
# File 'lib/models/data_storage_strategy/data_storage_strategy.rb', line 3 def read(file_path) raise NotImplementedError, 'Not implemented' end |
#write(file_path, students) ⇒ Object
write to file
8 9 10 |
# File 'lib/models/data_storage_strategy/data_storage_strategy.rb', line 8 def write(file_path, students) raise NotImplementedError, 'Not implemented' end |