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



4
5
6
# File 'lib/pragmatic_segmenter/types.rb', line 4

def pattern
  @pattern
end

#replacementObject

Returns the value of attribute replacement



4
5
6
# File 'lib/pragmatic_segmenter/types.rb', line 4

def replacement
  @replacement
end