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


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

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

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#typesArray[Symbol]

Returns:

  • (Array[Symbol])


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

def types: () -> Array[Symbol]