Class: SimpleTextExtract::FileExtractor
- Inherits:
-
TextExtractor
- Object
- TextExtractor
- SimpleTextExtract::FileExtractor
- Defined in:
- lib/simple_text_extract/file_extractor.rb
Instance Attribute Summary collapse
-
#filepath ⇒ Object
readonly
Returns the value of attribute filepath.
Instance Method Summary collapse
-
#initialize(filepath:) ⇒ FileExtractor
constructor
A new instance of FileExtractor.
Methods inherited from TextExtractor
Constructor Details
#initialize(filepath:) ⇒ FileExtractor
Returns a new instance of FileExtractor.
7 8 9 |
# File 'lib/simple_text_extract/file_extractor.rb', line 7 def initialize(filepath:) @filepath = filepath end |
Instance Attribute Details
#filepath ⇒ Object (readonly)
Returns the value of attribute filepath.
5 6 7 |
# File 'lib/simple_text_extract/file_extractor.rb', line 5 def filepath @filepath end |