Class: JSONSchema::Canonical::OneOfView

Inherits:
Object
  • Object
show all
Defined in:
sig/jsonschema.rbs

Overview

A value matches iff exactly one branch matches.

Instance Method Summary collapse

Instance Method Details

#branchesArray[CanonicalSchema]

Returns:



247
# File 'sig/jsonschema.rbs', line 247

def branches: () -> Array[CanonicalSchema]

#deconstruct_keysHash[Symbol, untyped]

Parameters:

  • keys (Object)

Returns:

  • (Hash[Symbol, untyped])


249
# File 'sig/jsonschema.rbs', line 249

def deconstruct_keys: (untyped keys) -> Hash[Symbol, untyped]

#inspectString

Returns:

  • (String)


248
# File 'sig/jsonschema.rbs', line 248

def inspect: () -> String