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)


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

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)


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

def case_sensitive
  @case_sensitive
end

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


492
493
494
# File 'sig/types.rbs', line 492

def label
  @label
end

#patternString (readonly)

Returns the value of attribute pattern.

Returns:

  • (String)


493
494
495
# File 'sig/types.rbs', line 493

def pattern
  @pattern
end

Class Method Details

.labeledRedactionPattern

Parameters:

  • label (String)
  • pattern (String)

Returns:



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

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