Method: XsdMappers::CLI#generate

Defined in:
lib/thor/xsd_mappers.rb

#generate(schema_path) ⇒ Object



10
11
12
13
14
# File 'lib/thor/xsd_mappers.rb', line 10

def generate(schema_path)
  schema(schema_path).types.each do |name, _|
    Mappers.new([name, schema_path], options).invoke_all
  end
end