method
add_word_pair
Ruby latest stable (v1_9_3_392)
-
0 notes -
Class: AttributeManager
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378 (0)
- 1_9_2_180 (38)
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- What's this?
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


