twitter / twitter-cldr-rb

Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
Apache License 2.0
673 stars 93 forks source link

Exception when using hyphenate #234

Closed valodzka closed 4 years ago

valodzka commented 4 years ago

Example:

"Überbewertung".localize(:de).hyphenate('-').to_s
# NoMethodError (undefined method `include?' for 0:Integer)
camertron commented 4 years ago

Hey @valodzka thanks for the bug report! This should be fixed in v6.0.1 :)