# File lib/cimi/model/schema.rb, line 149 def initialize(name, opts = {}, &block) opts[:xml_name] = name.to_s.singularize unless opts[:xml_name] super(name, opts) @struct = Struct.new(name, opts, &block) end