Categories: None [Edit]

betterobject

https://rubygems.org/gems/betterobject
This gem installs several class methods to Object which in turn generates both class and instance methods but only when you are ready. In order to prevent name pollution, you have the ability to manage the generators to pick alternate names if you prefer. After scouring the RubyGems site, some of the better Class upgrades are included here as well as some of my own. The gem creates the backbone upon which future upgrades should be forthcoming. As a teaser, some of the generators presently include: obj.local_methods, obj.inherited_methods, obj.replaced_methods, obj.in?, COBJ.comes_from?, COBJ.derives_from?, obj.find_def. There are currently 20 generators and counting. Calling Object.better_install_all will install all of the generators. You can also generate a subset by calling Object.better_install(:generator_name). The generator names are also the method names which can be renamed by calling Object.better_rename(old_name, new_name);

Total

Ranking: 94,524 of 189,852
Downloads: 8,882

Daily

Ranking: 100,652 of 189,815
Downloads: 3

Depended by

RankDownloadsName
52,02521,490setfu

Depends on

RankDownloadsName
13,212,562,050bundler
81,245,119,659rake
29953,591,983rspec
100442,200,566byebug

Owners

#GravatarHandle
1iconfweekyfweek