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


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

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

#excludes_integersBoolean

Returns:

  • (Boolean)


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

def excludes_integers: () -> bool

#exclusive_maximumBoolean

Returns:

  • (Boolean)


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

def exclusive_maximum: () -> bool

#exclusive_minimumBoolean

Returns:

  • (Boolean)


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

def exclusive_minimum: () -> bool

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#maximumInteger, ...

Returns:

  • (Integer, Float, nil)


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

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

#minimumInteger, ...

Returns:

  • (Integer, Float, nil)


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

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

#multiple_ofArray[Integer | Float]

Returns:

  • (Array[Integer | Float])


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

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

#not_multiple_ofArray[Integer | Float]

Returns:

  • (Array[Integer | Float])


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

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