Sha256: 941b89887b4e84876c3db1229fa4e570641c8cdee2822b41f841884addf5761f

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literal: true

module Tataru
  module Instructions
    # clears temp memory
    class ClearInstruction < Instruction
      def run
        memory.hash[:temp] = {}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tataru-0.2.0 lib/tataru/instructions/clear_instruction.rb