un
unextend and uninclude for prototype-oriented programming
un provides unextend and uninclude to allow for a better
prototype-oriented programming experience.
- unextend removes a module from an instance.
- uninclude removes a module from a class/module.
- danger danger!
1
2
3
4
man = Man.new
man.extend SuperDuper
# ...
man.unextend SuperDuper
Get The Code
If you just want to use un, you can install it via RubyGems:
gem install un
Fork me on GitHub
If you want to hack on un, clone it from GitHub:
git clone git://github.com/seattlerb/un
Latest Activity