Sha256: ead659c535bb77f74575c8b0a37175d4b4b96115671da366d8972c1936d69805
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
module XsdModel module Elements class Include include BaseElement #TODO: why isn't this picked up from BaseElement where it's also extended? extend AttributeMethods attribute_method 'schemaLocation' def load(options = {}) xml_string = File.read(schema_location) XsdModel.parse(xml_string, options).schema end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xsd_model-0.6.0 | lib/xsd_model/elements/include.rb |
xsd_model-0.5.0 | lib/xsd_model/elements/include.rb |