Class: JSONSchema::Canonical::MultiTypeView

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

Overview

A value matches iff its JSON type is in the set.

Instance Method Summary collapse

Instance Method Details

#deconstruct_keysHash[Symbol, untyped]

Parameters:

  • keys (Object)

Returns:

  • (Hash[Symbol, untyped])


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

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

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#typesArray[Symbol]

Returns:

  • (Array[Symbol])


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

def types: () -> Array[Symbol]