changed Set order

from to seems more logical than to,from
This commit is contained in:
Torsten Ruger
2015-06-21 13:29:27 +03:00
parent 6867175bd1
commit cdf17a73b2
5 changed files with 15 additions and 15 deletions

View File

@ -5,9 +5,9 @@ module Virtual
# these are represented as slots (see there)
# from may be a Constant (Object,Integer,String,Class)
class Set < Instruction
def initialize to , from
@to = to
def initialize from , to
@from = from
@to = to
end
attr_reader :from , :to
end