APIdock / Ruby
/
Browse About
method

accept_rule

v2_1_10 - Show latest stable - Class: RDoc::Markup::ToHtml
accept_rule(rule)
public

Adds rule to the output

# File lib/rdoc/markup/to_html.rb, line 223
  def accept_rule rule
    @res << "<hr>\n"
  end

Related methods

  • Instance methods
  • accept_blank_line
  • accept_block_quote
  • accept_heading
  • accept_list_end
  • accept_list_item_end
  • accept_list_item_start
  • accept_list_start
  • accept_paragraph
  • accept_raw
  • accept_rule
  • accept_verbatim
  • convert_string
  • end_accepting
  • gen_url
  • handle_RDOCLINK
  • handle_special_HARD_BREAK
  • handle_special_HYPERLINK
  • handle_special_RDOCLINK
  • handle_special_TIDYLINK
  • html_list_name
  • init_tags
  • list_end_for
  • list_item_start
  • parseable?
  • start_accepting
  • to_html
  • Class methods
  • new
APIdock API Documentation Browser

© 2026 APIdock