Class: Dradis::Plugins::Pentera::FieldProcessor
- Inherits:
-
Upload::FieldProcessor
- Object
- Upload::FieldProcessor
- Dradis::Plugins::Pentera::FieldProcessor
- Defined in:
- lib/dradis/plugins/pentera/field_processor.rb
Instance Method Summary collapse
Instance Method Details
#value(args = {}) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/dradis/plugins/pentera/field_processor.rb', line 5 def value(args = {}) field = args[:field] # fields in the template are of the form <foo>.<field>, where <foo> # is common across all fields for a given template (and meaningless). _, name = field.split('.') @data[name] || 'n/a' end |