SuperModule 1.4.0 has been released with these enhancements:
- Support aliased methods
- Support safely calling self.included(base) in super module via super_module_included {|base| ... } allowing proper super module nesting when meta-programming
- Support aliased methods
- Support safely calling self.included(base) in super module via super_module_included {|base| ... } allowing proper super module nesting when meta-programming
This is the library that makes including modules in Ruby work as one would intuitively expect with regards to class methods (singleton methods):
It's used in Glimmer.
Enjoy!
No comments:
Post a Comment