MyApp.Cldr.quote
You're seeing just the function
quote
, go back to MyApp.Cldr module for more information.
Specs
Add locale-specific quotation marks around a string.
Arguments
string
is any valid Elixir stringoptions
is a keyword list of options
Options
locale
is any valid locale name returned byCldr.known_locale_names/1
. The default isCldr.get_locale/0
Examples
iex> MyApp.Cldr.quote "Quoted String"
"“Quoted String”"
iex> MyApp.Cldr.quote "Quoted String", locale: "ja"
"「Quoted String」"