Class: JSONSchema::Canonical::NumberView

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

Overview

A number value within a real interval.

Instance Method Summary collapse

Instance Method Details

#deconstruct_keysHash[Symbol, untyped]

Parameters:

  • keys (Object)

Returns:

  • (Hash[Symbol, untyped])


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

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

#excludes_integersBoolean

Returns:

  • (Boolean)


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

def excludes_integers: () -> bool

#exclusive_maximumBoolean

Returns:

  • (Boolean)


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

def exclusive_maximum: () -> bool

#exclusive_minimumBoolean

Returns:

  • (Boolean)


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

def exclusive_minimum: () -> bool

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#maximumInteger, ...

Returns:

  • (Integer, Float, nil)


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

def maximum: () -> (Integer | Float)?

#minimumInteger, ...

Returns:

  • (Integer, Float, nil)


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

def minimum: () -> (Integer | Float)?

#multiple_ofArray[Integer | Float]

Returns:

  • (Array[Integer | Float])


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

def multiple_of: () -> Array[Integer | Float]

#not_multiple_ofArray[Integer | Float]

Returns:

  • (Array[Integer | Float])


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

def not_multiple_of: () -> Array[Integer | Float]