class Tataru::Instructions::ValueInstruction
sets a hash entry based on whatever key was set
Public Instance Methods
run()
click to toggle source
# File lib/tataru/instructions/value_instruction.rb, line 7 def run return memory.error = 'No key set' unless memory.hash[:temp].key? :_key key = memory.hash[:temp].delete :_key memory.hash[:temp][key] = @param end