From: Yohanes Santoso Date: 2002-04-10T10:38:26+09:00 Subject: Re: mix-in dependancy Yohanes Santoso writes: I made a mistake. Should have used methods and instance_methods. > and the inclusion mechanism: > Sort.prereq.each {|x| x_name = x.to_s if not (A.methods.include?(x_name) or A.instance_methods.include?(x_name)) raise "Unmet prerequisite." end > } > eval "class A; include Sort; end" YS.