Class: Dradis::Plugins::CSV::FieldProcessor

Inherits:
Upload::FieldProcessor
  • Object
show all
Defined in:
lib/dradis/plugins/csv/field_processor.rb

Instance Method Summary collapse

Instance Method Details

#value(args = {}) ⇒ Object

data is a Hash of the current row, keyed by normalized header (see Importer#normalized_row), matching how MappingForm normalizes headers when it stores each field's source_field/content.



6
7
8
# File 'lib/dradis/plugins/csv/field_processor.rb', line 6

def value(args = {})
  data[args[:field]]
end