def gen_class name
      mofname = name + ".mof"
      classpath = File.join(@basedir, "#{name}.rb")
      parse_with_ancestors name
      generate name, classpath
      class_for name
    end
def gen_class name
      mofname = name + ".mof"
      classpath = File.join(@basedir, "#{name}.rb")
      parse_with_ancestors name
      generate name, classpath
      class_for name
    end
gen_class