lib/schematic/generator/sandbox.rb in schematic-0.5.6 vs lib/schematic/generator/sandbox.rb in schematic-0.5.7

- old
+ new

@@ -52,8 +52,12 @@ end def required(*fields) fields.each { |field| required_elements << field } end + + def root(name) + xsd_generator.names.root = name + end end end end