blob: 0ad45de3709fb31cc031b0b46407194abf8f5c43 (
plain)
1
2
3
4
5
6
7
8
9
10
|
Adds a metaclass method to all Ruby objects.
Motivations :-
* Even though WhyTheLuckyStiff's [metaid gem]
(https://rubygems.org/gems/metaid) does something similar, apparently the
metaclass method without underscores [doesn't play well with Rails v2.3]
* I'm trying to extract code out of the [mocha gem]
(https://github.com/floehopper/mocha) and this is an obvious candidate.
|