Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Curse your code
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.ruby-version
.travis.yml
Gemfile
README.md
Rakefile
imprecations.gemspec

README.md

Imprecations: Because that's what you'll be hurling at the screen

Build Status

Imprecations recursively deprecates every instance method on a class/module as well as all classes defined inside that class/module.

Installation

gem install imprecations

Usage

MyClass.imprecate
MyClass.my_method
#=> DEPRECATION WARNING: MyClass#my_method is deprecated!
#=> ...my_method does its thing...

Safety

Worried about deprecating too many things? Just do this:

require 'imprecations/safe'

And you're good to go!

Is it tested?

Of course!

Author/who to blame: Gabe Berke-Williams, 2011

Something went wrong with that request. Please try again.