Class: Loba::Internal::Deprecated
- Inherits:
-
Object
- Object
- Loba::Internal::Deprecated
- Defined in:
- lib/loba.rb
Overview
Internal class for deprecation warnings.
Class Method Summary collapse
-
._0_3_0(value) ⇒ Object
Deprecations as of version 0.3.0.
Class Method Details
._0_3_0(value) ⇒ Object
Deprecations as of version 0.3.0
227 228 229 230 231 |
# File 'lib/loba.rb', line 227 def _0_3_0(value) bool = value ? "true" : "false" verb = value ? "enabled" : "disabled" warn "DEPRECATION WARNING: use {:production => #{bool}} instead to indicate notice is #{verb} in production" end |