Method: GetText::TextDomainManager#cached=
- Defined in:
- lib/gettext/text_domain_manager.rb
#cached=(val) ⇒ Object
Set the value whether cache messages or not. true to cache messages, otherwise false.
Default is true. If $DEBUG is false, messages are not checked even if this value is true.
| 43 44 45 46 | # File 'lib/gettext/text_domain_manager.rb', line 43 def cached=(val) @@cached = val TextDomain.cached = val end |