Class: Lutaml::Model::Schema::Renderers::RestrictedType
- Defined in:
- lib/lutaml/model/schema/renderers/restricted_type.rb
Overview
Renders a Definitions::RestrictedType into a Ruby class extending a Lutaml::Model::Type::* with a cast body that mutates options with facet values and delegates to super.
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/restricted_type.rb', line 13 def render Templates::RESTRICTED_SIMPLE_TYPE.result(binding) end |