Template:Ruby/detect/doc

Ruby/detect is a utility template used to determine if the given string uses Ruby markup.

Usage


If the string uses Ruby markup, the template returns ; otherwise it doesn't return anything.

Optionally, a value to return if the string does (or doesn't) use Ruby markup can also be specified: