Module: Representable::Deprecations
- Defined in:
- lib/representable/deprecations.rb
Instance Method Summary collapse
-
#skip_excluded_property?(binding, options) ⇒ Boolean
TODO: remove with 1.3.
Instance Method Details
#skip_excluded_property?(binding, options) ⇒ Boolean
TODO: remove with 1.3.
3 4 5 6 7 8 9 |
# File 'lib/representable/deprecations.rb', line 3 def skip_excluded_property?(binding, ) # TODO: remove with 1.3. if [:except] [:exclude] = [:except] warn "The :except option is deprecated and will be removed in 1.3. Please use :exclude." end # i wanted a one-liner but failed :) super end |