From: Simon Strandgaard Date: 2004-03-04T22:59:45+09:00 Subject: class< neither included nor extended works I would like to execute some code at the point when the 'class< ruby a.rb server> cat a.rb txt = "text" class << txt def included(parent) puts "included" end def extended(parent) puts "extended" end def self.included(parent) puts "self.included" end def self.extended(parent) puts "self.extended" end end server> -- Simon Strandgaard