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)


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

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

Instance Attribute Details

#categoryPiiCategory (readonly)

Returns the value of attribute category.

Returns:



726
727
728
# File 'sig/types.rbs', line 726

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


725
726
727
# File 'sig/types.rbs', line 725

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


724
725
726
# File 'sig/types.rbs', line 724

def start
  @start
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


727
728
729
# File 'sig/types.rbs', line 727

def text
  @text
end