Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
new()
public
Creates a new attribute manager
that understands bold, emphasized and teletype text.
# File lib/rdoc/markup/attribute_manager.rb, line 64
def initialize
@html_tags = {}
@matching_word_pairs = {}
@protectable = ]<]
@special = []
@word_pair_map = {}
@attributes = RDoc::Markup::Attributes.new
add_word_pair "*", "*", :BOLD
add_word_pair "_", "_", :EM
add_word_pair "+", "+", :TT
add_html "em", :EM
add_html "i", :EM
add_html "b", :BOLD
add_html "tt", :TT
add_html "code", :TT
end