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)


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

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

Instance Attribute Details

#categoryPiiCategory (readonly)

Returns the value of attribute category.

Returns:



1991
1992
1993
# File 'sig/types.rbs', line 1991

def category
  @category
end

#endInteger (readonly)

Returns the value of attribute end.

Returns:

  • (Integer)


1990
1991
1992
# File 'sig/types.rbs', line 1990

def end
  @end
end

#startInteger (readonly)

Returns the value of attribute start.

Returns:

  • (Integer)


1989
1990
1991
# File 'sig/types.rbs', line 1989

def start
  @start
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1992
1993
1994
# File 'sig/types.rbs', line 1992

def text
  @text
end