public Method

TestText__Format.test_left_align?

There's no documentation for this item.

Source Code

# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1203
def test_left_align?
  assert_nothing_raised { @format_o = Text::Format.new }
  assert(@format_o.left_align?)
  assert_nothing_raised {
    @format_o.format_style = Text::Format::RIGHT_ALIGN
  }
  assert(!@format_o.left_align?)
  assert_nothing_raised {
    @format_o.format_style = Text::Format::RIGHT_FILL
  }
  assert(!@format_o.left_align?)
  assert_nothing_raised { @format_o.format_style = Text::Format::JUSTIFY }
  assert(!@format_o.left_align?)
    # The format testing is done in test_format_style
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.