Method: XmlSchemaMapper::ClassMethods#schema

Defined in:
lib/xml_schema_mapper.rb

#schema(location = nil) ⇒ Object



28
29
30
31
32
33
34
# File 'lib/xml_schema_mapper.rb', line 28

def schema(location=nil)
  if location
    self._schema = LibXML::XML::Schema.cached(location)
  else
    self._schema
  end
end