lib/lutaml/model/xml_mapping_rule.rb in lutaml-model-0.3.11 vs lib/lutaml/model/xml_mapping_rule.rb in lutaml-model-0.3.12

- old
+ new

@@ -13,20 +13,22 @@ delegate: nil, namespace: nil, prefix: nil, mixed_content: false, namespace_set: false, - prefix_set: false + prefix_set: false, + default_namespace: nil ) super( name, to: to, render_nil: render_nil, with: with, delegate: delegate, mixed_content: mixed_content, namespace_set: namespace_set, prefix_set: prefix_set, + default_namespace: default_namespace ) @namespace = if namespace.to_s == "inherit" # we are using inherit_namespace in xml builder by # default so no need to do anything here.