Class: Tabula::Extraction::LineExtractor::CloseAndStrokePathOperator

Inherits:
OperatorProcessor
  • Object
show all
Defined in:
lib/tabula/pdf_line_extractor.rb

Instance Method Summary collapse

Instance Method Details

#process(operator, arguments) ⇒ Object



167
168
169
170
171
# File 'lib/tabula/pdf_line_extractor.rb', line 167

def process(operator, arguments)
  drawer = self.context
  drawer.currentPath.each { |segment| drawer.addRuling(segment) }
  drawer.currentPath = []
end