Module: Xmi::ParserPipeline::Steps::ParseXml
- Defined in:
- lib/xmi/parser_pipeline.rb
Class Method Summary collapse
Class Method Details
.call(ctx) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/xmi/parser_pipeline.rb', line 37 def self.call(ctx) root_class = ctx[:root_class] root = VersionRegistry.parse_with_detected_version(ctx[:xml], root_class) ctx.merge(root: root) end |