Flowdock
method

convert_specials

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SM::AttributeManager
convert_specials(str, attrs) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.