Class: Xberg::PatternMatch

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePatternMatch

Returns a new instance of PatternMatch.

Parameters:

  • start: (Integer)
  • end: (Integer)
  • category: (PiiCategory)
  • text: (String)


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

def initialize: (start: Integer, end: Integer, category: PiiCategory, text: String) -> void

Instance Attribute Details

#categoryPiiCategory (readonly)

Returns the value of attribute category.

Returns:



696
697
698
# File 'sig/types.rbs', line 696

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


695
696
697
# File 'sig/types.rbs', line 695

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


694
695
696
# File 'sig/types.rbs', line 694

def start
  @start
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


697
698
699
# File 'sig/types.rbs', line 697

def text
  @text
end