Class: TwitterCldr::Segmentation::BreakRule

Inherits:
Rule
  • Object
show all
Defined in:
lib/twitter_cldr/segmentation/rule.rb

Instance Attribute Summary

Attributes inherited from Rule

#id, #left, #right, #string

Instance Method Summary collapse

Methods inherited from Rule

#initialize, #match

Constructor Details

This class inherits a constructor from TwitterCldr::Segmentation::Rule

Instance Method Details

#boundary_symbolObject



59
60
61
# File 'lib/twitter_cldr/segmentation/rule.rb', line 59

def boundary_symbol
  :break
end

#break?Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/twitter_cldr/segmentation/rule.rb', line 63

def break?
  true
end