Class: XsdMappers::CLI
- Inherits:
-
Thor
- Object
- Thor
- XsdMappers::CLI
- 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], ).invoke_all end end |