Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Curse your code

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 imprecations.gemspec
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.