rename length to mem_length and suffer the consequences

This commit is contained in:
Torsten Ruger
2014-09-17 12:04:54 +03:00
parent 79e42003b2
commit e4474e7e2c
7 changed files with 27 additions and 30 deletions

View File

@@ -53,6 +53,11 @@ module Virtual
def mem_length
padded(1 + string.length)
end
def position
return @position if @position
return @string.position if @string.position
super
end
end
end