Module: SecurityGuard::Concerns::InputToOutput
- Included in:
- Deduplication, Sequences
- Defined in:
- lib/security_guard/concerns/input_to_output.rb
Instance Method Summary collapse
Instance Method Details
#input_to_output(args) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/security_guard/concerns/input_to_output.rb', line 4 def input_to_output(args) input_data, filenames = read_data_from(args[:input]) output_data = send(args[:process], input_data) write_data_to args[:output], :output_data => output_data, :filenames => filenames end |