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)


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

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)


478
479
480
# File 'sig/types.rbs', line 478

def case_sensitive
  @case_sensitive
end

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


476
477
478
# File 'sig/types.rbs', line 476

def label
  @label
end

#patternString (readonly)

Returns the value of attribute pattern.

Returns:

  • (String)


477
478
479
# File 'sig/types.rbs', line 477

def pattern
  @pattern
end

Class Method Details

.labeledRedactionPattern

Parameters:

  • label (String)
  • pattern (String)

Returns:



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

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