aliased add_code to <<, to give a bit of the stream feel

This commit is contained in:
Torsten Ruger
2014-05-18 10:15:43 +03:00
parent 53666e8b33
commit 7b1b2c5d87
2 changed files with 14 additions and 13 deletions

View File

@ -39,6 +39,7 @@ module Vm
@codes << kode
self
end
alias :<< :add_code
def link_at pos , context
@position = pos