Ruby Plus #59: Ruby Metaclasses part 5
  • Video is free for view
View_video

This is the final episode based on Why the luck stiff's "Seeing Metaclasses clearly" article.This episode ends with an illustration of a powerful metaprogramming concept that every Ruby programmer should know.

Prerequisite: instance_eval, changing self in Ruby episodes and previous episodes on metaclasses.

Correction: self inside the Class << self is not the FooSub but is the metaclass of FooSub.



Tags: Ruby Plus, Ruby

Level: any Date: July 01, 2008 Votes: 0 User: Dmytro Shteflyuk  Comments:
 
 

No Response(s) to this entry

Subscribe to comments with RSS.