Class: Xberg::RedactionPattern

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRedactionPattern

Returns a new instance of RedactionPattern.

Parameters:

  • label: (String)
  • pattern: (String)
  • case_sensitive: (Boolean)


499
# File 'sig/types.rbs', line 499

def initialize: (label: String, pattern: String, case_sensitive: bool) -> void

Instance Attribute Details

#case_sensitiveBoolean (readonly)

Returns the value of attribute case_sensitive.

Returns:

  • (Boolean)


497
498
499
# File 'sig/types.rbs', line 497

def case_sensitive
  @case_sensitive
end

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


495
496
497
# File 'sig/types.rbs', line 495

def label
  @label
end

#patternString (readonly)

Returns the value of attribute pattern.

Returns:

  • (String)


496
497
498
# File 'sig/types.rbs', line 496

def pattern
  @pattern
end

Class Method Details

.labeledRedactionPattern

Parameters:

  • label (String)
  • pattern (String)

Returns:



500
# File 'sig/types.rbs', line 500

def self.labeled: (String label, String pattern) -> RedactionPattern