Class: Tataru::Instructions::ClearInstruction

Inherits:
Tataru::Instruction show all
Defined in:
lib/tataru/instructions/clear_instruction.rb

Overview

clears temp memory

Instance Attribute Summary

Attributes inherited from Tataru::Instruction

#memory

Instance Method Summary collapse

Methods inherited from Tataru::Instruction

#execute, expects

Instance Method Details

#runObject



7
8
9
# File 'lib/tataru/instructions/clear_instruction.rb', line 7

def run
  memory.hash[:temp] = {}
end