Module: Brut::I18n::ForCLI
Overview
Use this to access translations in any CLI.
This implementation does support blocks yielded to BaseMethods#t, however
their values are not necessarily HTML-escaped.
Instance Method Summary
collapse
#l, #t, #t_direct, #this_field_value
Instance Method Details
#capture(&block) ⇒ Object
7
|
# File 'lib/brut/i18n/for_cli.rb', line 7
def capture(&block) = block.()
|
#html_escape(value) ⇒ Object
8
|
# File 'lib/brut/i18n/for_cli.rb', line 8
def html_escape(value) = value
|
#safe(string) ⇒ Object
6
|
# File 'lib/brut/i18n/for_cli.rb', line 6
def safe(string) = string
|