Flowdock
method

mask_protected_sequences

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - 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.

mask_protected_sequences() 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 199
    def mask_protected_sequences
      protect_pattern = Regexp.new("\\\\([#{Regexp.escape(PROTECTABLE.join(''))}])")
      @str.gsub!(protect_pattern, "\\1#{PROTECT_ATTR}")
    end
Register or log in to add new notes.