Flowdock
method

add_word_pair

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: AttributeManager
add_word_pair(start, stop, name) public

Adds a markup class with name for words wrapped in the start and stop character. To make words wrapped with “*” bold:

am.add_word_pair '*', '*', :BOLD
Show source
Register or log in to add new notes.