# == Description # Replace with a description. The default task simply # demonstrates the use of a config and logging. # === Usage # Replace with usage instructions # class <%= class_name_without_nesting %> < Tap::Task # uncomment to: # - pass all inputs to process at once # - define a task that takes no inputs #do_not_iterate # use config to set task configurations # configs have accessors by default config :label, 'input' # a label for output def process(input) # the process logic goes here. # use log to record information log label, input # the return of process is the task output "#{label}: #{input} was processed" end end