GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
the defined?(super) idiom can be used to efficiently use modules for plugins, i.e.:
# do stuff
# ... and then call potential modules that have been included
super if defined? super
rubinius does not implement defined?(super). I guess, though, that it would not be so difficult to at least implement a Kernel#has_super? method that returns true if there is a "super" method.
defined?(super) support, served with a side of crow. Closed by 90d6311.