>>>>> "F" == Freeman Pascal <pascal / pascal.org> writes:

F> Second, is there a way to determine within the module definition at 
F> run-time who the including class is (i.e. who called "include")?

 ruby call append_features in this case

pigeon% cat b.rb
#!/usr/bin/ruby
module A
   def A.append_features(klass)
      puts "class #{klass}"
      super
   end
end

class B
   include A
end
pigeon% b.rb
class B
pigeon% 


Guy Decoux