method
convert_specials
v1_9_1_378 -
Show latest stable
- Class:
RDoc::Markup::AttributeManager
convert_specials(str, attrs)public
No documentation available.
# File lib/rdoc/markup/attribute_manager.rb, line 111
def convert_specials(str, attrs)
unless SPECIAL.empty?
SPECIAL.each do |regexp, attr|
str.scan(regexp) do
attrs.set_attrs($`.length, $&.length,
attr | RDoc::Markup::Attribute::SPECIAL)
end
end
end
end