class Nocode::Steps::Dataset::Append

Add entries specified in the options to the end of the specified register’s existing entries.

Public Instance Methods

perform() click to toggle source
# File lib/nocode/steps/dataset/append.rb, line 11
def perform
  registers[register_option] = array(registers[register_option])

  array(entries_option).each do |entry|
    registers[register_option].append(entry)
  end
end