new()
public
Creates a new attribute manager
that understands bold, emphasized and teletype text.
# File lib/rdoc/markup/attribute_manager.rb, line 56
def initialize
@html_tags = {}
@matching_word_pairs = {}
@protectable = ]<\\]
@special = {}
@word_pair_map = {}
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