Module: Timezone::Deprecate
- Defined in:
- lib/timezone/deprecate.rb
Overview
This class provides a way to set a custom hook for deprecations.
Class Attribute Summary collapse
-
.callback ⇒ Object
writeonly
Set the custom deprecation callback.
Class Attribute Details
.callback=(value) ⇒ Object
Set the custom deprecation callback. By default this issues a deprecation warning.
21 22 23 |
# File 'lib/timezone/deprecate.rb', line 21 def callback=(value) @callback = value end |