Sha256: 2aaafe0e1ab487e0429525da021d39c9200d6f2e26889ba72cfc9857aa3d3ea4

Contents?: true

Size: 197 Bytes

Versions: 1

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

module Tataru
  module Instructions
    # ends the program
    class EndInstruction < Instruction
      def run
        memory.end = true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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