Class Text::Format::SplitWord
In: lib/text/format.rb
Parent: Object

Words forcibly split by Text::Format will be stored as split words. This class represents a word forcibly split.

Methods

new  

Attributes

first  [R]  The first part of the word that was split.
rest  [R]  The remainder of the word that was split.
word  [R]  The word that was split.

Public Class methods

[Source]

# File lib/text/format.rb, line 149
    def initialize(word, first, rest)
      @word   = word
      @first  = first
      @rest   = rest
    end

[Validate]