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

- old
+ new

@@ -25,13 +25,13 @@ xsd_generator.header(builder) xsd_generator.schema(builder) output end - def generate_xsd(builder, klass, include_collection, options) + def generate_xsd(builder, klass, include_collection, options, exclude) xsd_generator.options = options - xsd_generator.generate(builder, klass, include_collection) + xsd_generator.generate(builder, klass, include_collection, exclude) end def ignore(*fields) if fields[0].is_a?(Hash) fields[0].each do |key, value| @@ -51,13 +51,9 @@ end end def required(*fields) fields.each { |field| required_elements << field } - end - - def method_missing(method, *args, &block) - @klass.send method, *args, &block end end end end