Class: Dradis::Plugins::CSV::FieldProcessor
- Inherits:
-
Upload::FieldProcessor
- Object
- Upload::FieldProcessor
- Dradis::Plugins::CSV::FieldProcessor
- Defined in:
- lib/dradis/plugins/csv/field_processor.rb
Instance Method Summary collapse
-
#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.
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 |