rename word_length to padded length

with word_length i was never sure if it was the padded version or not
This commit is contained in:
Torsten Ruger
2015-11-04 10:33:10 +02:00
parent 6ada815735
commit 5bddbfbb62
4 changed files with 10 additions and 10 deletions

View File

@ -28,8 +28,8 @@ class Symbol
#puts "LL #{l.class}"
l
end
def word_length
padded to_s.length
def padded_length
padded to_s.length + 4
end
# not the prettiest addition to the game, but it wasn't me who decided symbols are frozen in 2.x
def cache_positions