Ruby Metaprogramming: Dynamically Inherited Methods™ | upstream agile - software

Updated . Posted . Visible to the public.

All methods generated by string_attr_reader are now added to that new module instead of the class. The result is that when overriding those methods you can now call super because they’re are inherited from the new module.

Last edit
Keywords
ruby
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-09-19 07:38)