rename old layout()

new is called get_layout, but keep old around for
checking
This commit is contained in:
Torsten Ruger
2015-05-17 14:41:18 +03:00
parent 350d708fd3
commit 1114f06921
7 changed files with 17 additions and 12 deletions

View File

@ -8,6 +8,10 @@ module Parfait
# Words are constant, maybe like js strings, ruby symbols
# Words are short, but may have spaces
# Words are objects, that means they carry Layout as index 0
# So all indexes are offset by one in the implementation
# Object length is measured in non-layout cells though
# big TODO , this has NO encoding, a char takes a machine word. Go fix.
class Word < Object
# initialize with length. For now we try to keep all non-parfait (including String) out