Class: JSONSchema::RegexOptions

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

Overview

Regex engine options.

Instance Method Summary collapse

Constructor Details

#initializeRegexOptions

Create regex engine options.

Parameters:

  • size_limit

    Maximum compiled regex size in bytes

  • dfa_size_limit

    Maximum DFA size in bytes

  • size_limit: (Integer, nil)
  • dfa_size_limit: (Integer, nil)


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

def initialize: (?size_limit: Integer?, ?dfa_size_limit: Integer?) -> void

Instance Method Details

#dfa_size_limitInteger?

Maximum DFA size.

Returns:

  • (Integer, nil)


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

def dfa_size_limit: () -> Integer?

#inspectString

Returns:

  • (String)


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

def inspect: () -> String

#size_limitInteger?

Maximum compiled regex size.

Returns:

  • (Integer, nil)


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

def size_limit: () -> Integer?

#to_sString

Returns:

  • (String)


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

def to_s: () -> String