Class: XsdMappers::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/thor/xsd_mappers.rb

Instance Method Summary collapse

Instance Method Details

#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