InfoQ Homepage Metaprogramming Content on InfoQ
-
Article: Adding Properties to Ruby Metaprogramatically
Werner Schuster walks us through a simple example of adding Java-style properties support (declarative getters, setters and change listeners) to Ruby classes via a Mixin by using elements of Ruby meta-programming. Introduces ideas for enhancement using principles of design-by-contract and pluggable type systems.
-
Ruby Metaprogramming Techniques
Ola Bini looks at several common metaprogramming techniques in Ruby.
-
InfoQ Article: Will the Enterprise change Ruby, or will Ruby change the Enterprise?
Ruby is often criticized for lacking the features required for developing large applications and maintaining them over long periods of time with large teams. Are we missing something fundamental for widescale adoption of Ruby in the enterprise?