Sha256: 70ee2420e26bb085159f978017c288abfffeb12a76431d79a80b381342a2fbb2
Contents?: true
Size: 724 Bytes
Versions: 17
Compression:
Stored size: 724 Bytes
Contents
# frozen_string_literal: true module JSI simple_wrap_implementation = Module.new do def internal_child_applicate_keywords(token, instance) yield self end def internal_inplace_applicate_keywords(instance, visited_refs) yield self end def internal_validate_keywords(result_builder) end end simple_wrap_metaschema = JSI.new_metaschema(nil, schema_implementation_modules: [simple_wrap_implementation]) SimpleWrap = simple_wrap_metaschema.new_schema_module({}) # SimpleWrap is a JSI schema module which recursively wraps nested structures module SimpleWrap end SimpleWrap::Implementation = simple_wrap_implementation SimpleWrap::METASCHEMA = simple_wrap_metaschema end
Version data entries
17 entries across 17 versions & 1 rubygems