module
v2.3.8 -
Show latest stable
-
0 notes
The TextHelper module provides a set of methods for filtering, formatting and transforming strings, which can reduce the amount of inline Ruby code in your views. These helper methods extend ActionView making them callable within your template files.
Constants
AUTO_LINK_RE = %r{ ( https?:// | www\. ) [^\s<]+ }x unless const_defined?(:AUTO_LINK_RE)
BRACKETS = { ']' => '[', ')' => '(', '}' => '{' }