method

convert_specials

ruby latest stable - Class: SM::AttributeManager

Method deprecated or moved

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

convert_specials(str, attrs)
public

No documentation available.

# File lib/rdoc/markup/simple_markup/inline.rb, line 182
    def convert_specials(str, attrs)
      unless SPECIAL.empty?
        SPECIAL.each do |regexp, attr|
          str.scan(regexp) do
            attrs.set_attrs($`.length, $&.length, attr | Attribute::SPECIAL)
          end
        end
      end
    end