Class: Lutaml::Model::Schema::Renderers::Union
- Defined in:
- lib/lutaml/model/schema/renderers/union.rb
Overview
Renders a Definitions::UnionType into a Lutaml::Model::Type::Value subclass with a cast body whose strategy is chosen from the spec.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Lutaml::Model::Schema::Renderers::Base
Instance Method Details
#render ⇒ Object
13 14 15 |
# File 'lib/lutaml/model/schema/renderers/union.rb', line 13 def render Templates::UNION_TYPE.result(binding) end |