Class: SampleFile::Base
- Inherits:
-
Object
- Object
- SampleFile::Base
- Defined in:
- lib/sample_file/base.rb
Instance Method Summary collapse
Instance Method Details
#file ⇒ Object
3 4 5 |
# File 'lib/sample_file/base.rb', line 3 def file File.open file_path end |
#file_path ⇒ Object
7 8 9 |
# File 'lib/sample_file/base.rb', line 7 def file_path raise NotImplementedError, "#{self.class} does not implement the file_path method" end |