Class: DocRipper::Formats::TextRipper

Inherits:
Ripper::Base show all
Defined in:
lib/doc_ripper/formats/text_ripper.rb

Instance Attribute Summary

Attributes inherited from Ripper::Base

#file_path

Instance Method Summary collapse

Methods inherited from Ripper::Base

#initialize, #text

Constructor Details

This class inherits a constructor from DocRipper::Ripper::Base

Instance Method Details

#ripObject



7
8
9
# File 'lib/doc_ripper/formats/text_ripper.rb', line 7

def rip
  File.read(@file_path)
end