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])


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

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

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#typesArray[Symbol]

Returns:

  • (Array[Symbol])


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

def types: () -> Array[Symbol]