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


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

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

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#typesArray[Symbol]

Returns:

  • (Array[Symbol])


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

def types: () -> Array[Symbol]