Class: TextExtractor::Filldown

Inherits:
Record
  • Object
show all
Defined in:
lib/text_extractor/filldown.rb

Instance Attribute Summary

Attributes inherited from Record

#factory, #regexp, #values

Instance Method Summary collapse

Methods inherited from Record

#extract_fills, #extract_values, #initialize, #match, #options, #source

Constructor Details

This class inherits a constructor from TextExtractor::Record

Instance Method Details

#extraction(match, fill) ⇒ Object



5
6
7
8
# File 'lib/text_extractor/filldown.rb', line 5

def extraction(match, fill)
  fill.merge!(extract_values(match))
  []
end