How to memoize a class method with META PROGRAMMING?
References
Reference NO 1
http://www.jimmycuadra.com/posts/metaprogramming-ruby-class-eval-and-instance-eval
Reference NO 2
http://ruby-metaprogramming.rubylearning.com/html/ruby_metaprogramming_3.html
Reference NO 3
http://www.sitepoint.com/hitchhikers-guide-to-metaprogramming-classmodule-hooks/
Reference NO 4
http://tapestry.apache.org/meta-programming-page-content.html
Reference NO 5
http://www.vitarara.org/cms/ruby_metaprogamming_declaratively_adding_methods_to_a_class
Reference NO 6
http://www.packtpub.com/article/metaprogramming-and-groovy-mop
Reference NO 7
http://hackingbit.com/tag/metaprogramming/
Reference NO 8
http://yehudakatz.com/2009/11/15/metaprogramming-in-ruby-its-all-about-the-self/
No comments:
Post a Comment