lib/nocode/steps/copy.rb in nocode-0.0.3 vs lib/nocode/steps/copy.rb in nocode-0.0.4

- old
+ new

@@ -1,13 +1,14 @@ # frozen_string_literal: true module Nocode module Steps + # Shallow-copy one register to another. class Copy < Step option :from_register, :to_register def perform - registers[to_register_option] = registers[from_register_option] + registers[to_register_option] = registers[from_register_option].dup end end end end