Class: DataScienceTheater3000::File2Text
- Inherits:
-
Object
- Object
- DataScienceTheater3000::File2Text
- Defined in:
- lib/data_science_theater_3000/file2text.rb
Instance Attribute Summary collapse
- #file_path ⇒ Object private
Instance Method Summary collapse
-
#initialize(file_path) ⇒ File2Text
constructor
A new instance of File2Text.
- #result ⇒ Hash
Constructor Details
#initialize(file_path) ⇒ File2Text
Returns a new instance of File2Text.
9 10 11 12 |
# File 'lib/data_science_theater_3000/file2text.rb', line 9 def initialize file_path @file_path = file_path ensure_valid_file end |
Instance Attribute Details
#file_path ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 |
# File 'lib/data_science_theater_3000/file2text.rb', line 5 def file_path @file_path end |
Instance Method Details
#result ⇒ Hash
16 17 18 |
# File 'lib/data_science_theater_3000/file2text.rb', line 16 def result dst_request.result end |