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.
19 20 21 |
# File 'lib/timezone/deprecate.rb', line 19 def callback=(value) @callback = value end |