method

add_special

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: AttributeManager

Method deprecated or moved

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

These similar methods exist in v2_5_5:

add_special(pattern, name) public

Adds a special handler for pattern with name. A simple URL handler would be:

@am.add_special(/((https?:)\S+\w)/, :HYPERLINK)
Show source
Register or log in to add new notes.