There's no documentation for this item.
Source Code
# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1237 def test_hard_margins assert_nothing_raised { @format_o = Text::Format.new } assert(!@format_o.hard_margins) assert_nothing_raised { @format_o.hard_margins = true @format_o.columns = 5 @format_o.first_indent = 0 @format_o.format_style = Text::Format::RIGHT_FILL } assert(@format_o.hard_margins) assert_equal(FIVE_COL, @format_o.format(GETTYSBURG)) assert_nothing_raised { @format_o.split_rules |= Text::Format::SPLIT_CONTINUATION assert_equal(Text::Format::SPLIT_CONTINUATION_FIXED, @format_o.split_rules) } assert_equal(FIVE_CNT, @format_o.format(GETTYSBURG)) end
<code/>and<pre/>for code samples.