Decorators in Ruby
Ruby’s low-overhead metaprogramming facilities make it easy to create elegant APIs with minimal effort. As a testament to its power, I can say with a high degree of confidence that all of your favorite Ruby libraries leverage metaprogramming in one way or another.
http://blog.8thlight.com/arlandis-lawrence/2015/05/18/decorators-in-ruby.html
Post a comment