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)


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

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)


521
522
523
# File 'sig/types.rbs', line 521

def case_sensitive
  @case_sensitive
end

#labelString (readonly)

Returns the value of attribute label.

Returns:

  • (String)


519
520
521
# File 'sig/types.rbs', line 519

def label
  @label
end

#patternString (readonly)

Returns the value of attribute pattern.

Returns:

  • (String)


520
521
522
# File 'sig/types.rbs', line 520

def pattern
  @pattern
end

Class Method Details

.labeledRedactionPattern

Parameters:

  • label (String)
  • pattern (String)

Returns:



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

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