lib/characteristics/unicode.rb in characteristics-0.5.2 vs lib/characteristics/unicode.rb in characteristics-0.6.0
- old
+ new
@@ -128,9 +128,13 @@
def blank?
@is_valid && ( BLANKS.include?(@ord) || SEPARATORS.include?(@ord) )
end
+ def separator?
+ @is_valid && SEPARATORS.include?(@ord)
+ end
+
def format?
@is_valid && @category == "Cf"
end
def bidi_control?