Metaid == a few simple metaclass helper (See whytheluckystiff.net/articles/seeingMetaclassesClearly.html.)
Defines an instance method within a class
# File metaid.rb, line 14 14: def class_def name, &blk 15: class_eval { define_method name, &blk } 16: end
Adds methods to a metaclass
# File metaid.rb, line 9 9: def meta_def name, &blk 10: meta_eval { define_method name, &blk } 11: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.