fixing lengths

This commit is contained in:
Torsten Ruger
2015-11-03 16:21:50 +02:00
parent c15445a958
commit 6882f39645
3 changed files with 5 additions and 16 deletions

View File

@ -122,10 +122,6 @@ module Parfait
"'" + to_s + "'"
end
def word_length
padded self.length
end
private
def check_length
raise "Length out of bounds #{self.char_length}" if self.char_length > 32