method
strip_attributes
v1_9_1_378 -
Show latest stable
- Class:
RDoc::RI::Formatter
strip_attributes(text)public
No documentation available.
# File lib/rdoc/ri/formatter.rb, line 224
def strip_attributes(text)
text.gsub(/(<\/?(?:b|code|em|i|tt)>)/, '')
end