Sha256: 68f7cf19298b308e504fca967398d2d97196fa6d8f8f35f0861669fb18e0dad3
Contents?: true
Size: 963 Bytes
Versions: 1
Compression:
Stored size: 963 Bytes
Contents
# Warn::Deprecated [![CircleCI](https://circleci.com/gh/taki/warn-deprecated.svg?style=svg)](https://circleci.com/gh/taki/warn-deprecated) This gem makes it easy to display warnings with deprecated methods. ## Installation Add this line to your application's Gemfile: ```ruby gem 'warn-deprecated' ``` And then execute: $ bundle Or install it yourself as: $ gem install warn-deprecated ## Usage ```ruby class Klass extend Warn::Deprecated deprecated :new_method, :old_method def old_method 'old_method' end def new_method 'new_method' end end ``` ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Code of Conduct Everyone interacting in the Warn::Deprecated project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/taki/warn-deprecated/blob/master/CODE_OF_CONDUCT.md).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
warn-deprecated-0.1.0 | README.md |