class Text::Format::SplitWord

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

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

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