method

strip_attributes

ruby latest stable - Class: RDoc::RI::Formatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

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