public Method

TestText__Format.test_tabstop

There's no documentation for this item.

Source Code

# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1325
def test_tabstop
  assert_nothing_raised { @format_o = Text::Format.new }
  assert_equal(8, @format_o.tabstop)
  assert_nothing_raised { @format_o.tabstop = 7 }
  assert_equal(7, @format_o.tabstop)
  assert_nothing_raised { @format_o.tabstop = -3 }
  assert_equal(3, @format_o.tabstop)
  assert_nothing_raised { @format_o.tabstop = "9" }
  assert_equal(9, @format_o.tabstop)
  assert_nothing_raised { @format_o.tabstop = "-2" }
  assert_equal(2, @format_o.tabstop)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.