Hi -- On Sat, 27 Jun 2009, Fernando Guillen wrote: > That looks great, so the Class.initialize method admit a block as a > parameter and the block becomes on the definition of the Class > instance.. (I am trying to find the ruby source-code of Class but I can > not find it on my computer.. :/) If you have the source code installed, look for class.c (and the closely related module.c). > Now, what about inheritance? I mean: how to reproduce the behavior of > this?: > > class A < B > end Class.new(B) # inherit from B David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Now available: The Well-Grounded Rubyist (http://manning.com/black2) "Ruby 1.9: What You Need To Know" Envycasts with David A. Black http://www.envycasts.com