def update_state_actions
  states.each do |state|
    @state_turns[state.id] -= 1 if @state_turns[state.id] > 0 && state.auto_removal_timing == 1
  end
end

def HTT_interpreter code
  puts «
  puts »
  eval code
end

array_second = <<-HTT
def second
  self[1]
end
HTT
Array.class_eval(array_second)
String.class_eval do
  def /(delimiter)
    split(delimiter)
  end
end

4.times do |count|
  puts "this is the count #{count}"
end

print <<EOF
   This is the first way of creating
   here document ie. multiple line string.
EOF

print <<"EOF";                # same as above
   This is the second way of creating
   here document ie. multiple line string.
EOF

print <<«EOC»                 # execute commands
	echo hi there
	echo lo there
EOC

print <<"synt", <<"hese"  # you can stack them
	I said synt.
synt
	I said hese.
hese