Skip to content
Newer
Older
100644 31 lines (18 sloc) 731 Bytes
9371bd0 @gabebw I need a README, of course
authored Jul 29, 2011
1 # Imprecations: Because that's what you'll be hurling at the screen
2
7482178 @gabebw Add Travis CI status badge
authored Jun 10, 2015
3 [![Build Status](https://travis-ci.org/gabebw/imprecations.svg?branch=master)](https://travis-ci.org/gabebw/imprecations)
4
768a061 @gabebw Clear up the README
authored Jul 29, 2011
5 Imprecations recursively deprecates every instance method on a class/module as
6 well as all classes defined inside that class/module.
9371bd0 @gabebw I need a README, of course
authored Jul 30, 2011
7
8 ## Installation
9
10 gem install imprecations
11
12 ## Usage
13
14 MyClass.imprecate
15 MyClass.my_method
16 #=> DEPRECATION WARNING: MyClass#my_method is deprecated!
17 #=> ...my_method does its thing...
18
19 ## Safety
20 Worried about deprecating too many things? Just do this:
21
22 require 'imprecations/safe'
23
24 And you're good to go!
25
26
27 ## Is it tested?
28 Of course!
29
30 Author/who to blame: Gabe Berke-Williams, 2011
Something went wrong with that request. Please try again.