module ActiveSupport::Multibyte::Unicode
def in_char_class?(codepoint, classes)
:v, :lv, :lvt and :t.
Valid character classes are: :cr, :lf, :l,
+true+ when it's in the specified character class and +false+ otherwise.
Detect whether the codepoint is in a certain character class. Returns
def in_char_class?(codepoint, classes) classes.detect { |c| database.boundary[c] === codepoint } ? true : false end