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)


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

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)


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

def case_sensitive
  @case_sensitive
end

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


474
475
476
# File 'sig/types.rbs', line 474

def label
  @label
end

#patternString (readonly)

Returns the value of attribute pattern.

Returns:

  • (String)


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

def pattern
  @pattern
end

Class Method Details

.labeledRedactionPattern

Parameters:

  • label (String)
  • pattern (String)

Returns:



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

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