Socket
Book a DemoInstallSign in
Socket

warn-deprecated

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

warn-deprecated

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Warn::Deprecated CircleCI

This gem makes it easy to display warnings with deprecated methods.

Installation

Add this line to your application's Gemfile:

gem 'warn-deprecated'

And then execute:

$ bundle

Or install it yourself as:

$ gem install warn-deprecated

Usage

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.

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.

FAQs

Package last updated on 03 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.