The default implementation of #hyphenate_to implements SPLIT_CONTINUATION.
Source Code
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 583 def hyphenate_to(word, size) [word[0 .. (size - 2)] + "\\", word[(size - 1) .. -1]] end
The default implementation of #hyphenate_to implements SPLIT_CONTINUATION.
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 583 def hyphenate_to(word, size) [word[0 .. (size - 2)] + "\\", word[(size - 1) .. -1]] end
<code/>and<pre/>for code samples.