Class: Moby::Hyphenator
Instance Method Summary (collapse)
Instance Method Details
- (Object) hyphenate(word)
5 6 7 8 |
# File 'lib/moby/hyphenator.rb', line 5 def hyphenate(word) w = hyph[word] w.nil? ? word : w end |
5 6 7 8 |
# File 'lib/moby/hyphenator.rb', line 5 def hyphenate(word) w = hyph[word] w.nil? ? word : w end |