Class: PragmaticSegmenter::Rule

Inherits:
Struct
  • Object
show all
Defined in:
lib/pragmatic_segmenter/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



2
3
4
# File 'lib/pragmatic_segmenter/types.rb', line 2

def pattern
  @pattern
end

#replacementObject

Returns the value of attribute replacement

Returns:

  • (Object)

    the current value of replacement



2
3
4
# File 'lib/pragmatic_segmenter/types.rb', line 2

def replacement
  @replacement
end