lib/characteristics/byte.rb in characteristics-0.5.2 vs lib/characteristics/byte.rb in characteristics-0.6.0

- old
+ new

@@ -181,9 +181,13 @@ BLANKS.include?(@ord) || SEPARATORS.include?(@ord) || EXTRA_BLANKS[@ord] =~ @encoding_name end + def separator? + SEPARATORS.include?(@ord) + end + def format? FORMATS[@ord] =~ @encoding_name end def bidi_control? \ No newline at end of file