rename position accessor

for future
This commit is contained in:
Torsten Ruger
2016-12-28 21:40:06 +02:00
parent c60949fe24
commit 80237e5033
8 changed files with 11 additions and 11 deletions

View File

@ -15,7 +15,7 @@ module Positioned
end
pos
end
def position= pos
def set_position( pos )
raise "Position must be number not :#{pos}:" unless pos.is_a?(Numeric)
# resetting of position used to be error, but since relink and dynamic instruction size it is ok.
# in measures (of 32)