private Method

ToHtml.list_end_for(fragment_type)

There's no documentation for this item.

Source Code

# File rdoc/markup/simple_markup/to_html.rb, line 274
def list_end_for(fragment_type)
  case fragment_type
  when ListBase::BULLET, ListBase::NUMBER, ListBase::UPPERALPHA, ListBase::LOWERALPHA
    "</li>"
  when ListBase::LABELED
    "</dd>"
  when ListBase::NOTE
    "</td></tr>"
  else
    raise "Invalid list type"
  end
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.