Module: I18n::Debug
- Defined in:
- lib/i18n/debug.rb,
lib/i18n/debug/version.rb
Defined Under Namespace
Modules: Hook
Constant Summary collapse
- VERSION =
'1.2.0'
Class Attribute Summary collapse
-
.logger ⇒ Object
Returns the value of attribute logger.
- .on_lookup(&blk) ⇒ Object
Class Attribute Details
.logger ⇒ Object
Returns the value of attribute logger.
11 12 13 |
# File 'lib/i18n/debug.rb', line 11 def logger @logger end |
.on_lookup(&blk) ⇒ Object
24 25 26 27 |
# File 'lib/i18n/debug.rb', line 24 def on_lookup(&blk) return @on_lookup unless block_given? self.on_lookup = blk end |