Compares two Text::Format objects. All settings of the objects are compared except #hyphenator. Generated results (e.g., #split_words) are not compared, either.
Source Code
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 135 def ==(o) (@text == o.text) && (@columns == o.columns) && (@left_margin == o.left_margin) && (@right_margin == o.right_margin) && (@hard_margins == o.hard_margins) && (@split_rules == o.split_rules) && (@first_indent == o.first_indent) && (@body_indent == o.body_indent) && (@tag_text == o.tag_text) && (@tabstop == o.tabstop) && (@format_style == o.format_style) && (@extra_space == o.extra_space) && (@tag_paragraph == o.tag_paragraph) && (@nobreak == o.nobreak) && (@abbreviations == o.abbreviations) && (@nobreak_regex == o.nobreak_regex) end
<code/>and<pre/>for code samples.