./devel/ruby-metaclass, Adds a metaclass method to all Ruby objects

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2011Q3, Version: 0.0.1, Package name: ruby19-metaclass-0.0.1, Maintainer: pkgsrc-users

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]
(https://github.com/floehopper/mocha/commit/f0749d6d291164cc9280aa8ba16f33d652d45fe1#commitcomment-475799).

* I'm trying to extract code out of the [mocha gem]
(https://github.com/floehopper/mocha) and this is an obvious candidate.


Required to run:
[lang/ruby19-base]

Master sites:

SHA1: 2ae4acbb3201c2d61d4d7f3e34c26db4b2712efb
RMD160: d313905df698884a5aee894228b33c06b00ff5aa
Filesize: 4.5 KB

Version history: (Expand)