Class Text::Format::SplitWord
In: lib/text/format.rb
Parent: Object
Alpha Roman Number lib/text/format.rb lib/text/format/alpha.rb lib/text/format/roman.rb lib/text/format/number.rb Format Text Module: Text

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
149:     def initialize(word, first, rest)
150:       @word   = word
151:       @first  = first
152:       @rest   = rest
153:     end

[Validate]