Index of the text module
-
m
webhelpers.rails.text
...
- Text Helpers
-
f
reset_cycle
...
- Resets a cycle
-
f
markdown
...
- Format the text with MarkDown formatting
-
f
strip_links
...
- Strips link tags from text leaving just the link label.
-
f
excerpt
...
- Extracts an excerpt from the text. Returns an empty string if the phrase
isn't found.
-
f
textilize
...
- Format the text with Textile formatting
-
f
reset_counter
...
- Resets a counter.
-
f
simple_format
...
- Returns text transformed into HTML using very simple formatting rules
-
f
word_wrap
...
- Wraps text into lines no longer than line_width width. This function
breaks on the first whitespace character that does not exceed line_width.
-
f
auto_link
...
- Turns all urls and email addresses into clickable links.
-
f
truncate
...
- Truncates text with replacement characters
-
f
cycle
...
- Returns the next cycle of the given list
-
f
counter
...
- Return the next cardinal in a sequence.
-
f
highlight
...
- Highlights the phrase where it is found in the text