Module: ODDB::FiParse::Indications
- Defined in:
- ext/fiparse/src/indications.rb
Defined Under Namespace
Classes: Handler
Class Method Summary collapse
Class Method Details
.extract(filename) ⇒ Object
45 46 47 48 49 50 |
# File 'ext/fiparse/src/indications.rb', line 45 def Indications.extract(filename) pdf = Rpdf2txt::Parser.new(File.read(filename), 'UTF-8') handler = Handler.new pdf.extract_text(handler) [handler.indications, handler.news] end |