Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby metaprogramming online tutorial [closed]

The above article does refer to this but I'll post it for clarity: http://viewsourcecode.org/why/hacking/seeingMetaclassesClearly.html


If you are prepared to outlay a little cash, then The Pragmatic Programmers website has an excellent screencast series on the Ruby Object Model and metaprogramming. It's not very expensive and is a very comprehensive series that goes over a lot of cool stuff and worth every cent.

I need to watch it again to try and get my head around some of the concepts, then I can be one of the cool meta crowd :)


This link explains various concepts(singleton,dynamic programming etc) of Ruby metaprogramming in a very systemetic manner.

http://ruby-metaprogramming.rubylearning.com/


These 2 books should get you going...

"The Ruby Programming Language" by Matz and Flanagan.

"Metaprogramming Ruby: Program Like the Ruby Pros" by Paolo Perrota