Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Curse your code
Ruby
branch: master
Failed to load latest commit information.
lib
spec Interpolate
.gitignore Initial commit
Gemfile
README.md Clear up the README
Rakefile Initial commit
imprecations.gemspec Initial commit

README.md

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

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.