Method: JSI::SchemaModule::MetaSchemaModule#new_schema_module
- Defined in:
- lib/jsi/schema_classes.rb
#new_schema_module(schema_content, **kw, &block) ⇒ JSI::SchemaModule
Instantiates the given schema content as a JSI Schema, passing all params to JSI::Schema::MetaSchema#new_schema, and returns its JSI Schema Module.
86 87 88 |
# File 'lib/jsi/schema_classes.rb', line 86 def new_schema_module(schema_content, **kw, &block) schema.new_schema(schema_content, **kw, &block).jsi_schema_module end |