Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Metaobject callRunMethods
package metaobjectTest
@doc{*
produces code that calls all methods called 'run' of
all prototypes of the current package except method 'run'
of the current prototype.
*}
object CallRunMethods
func run {
@callRunMethods
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment