lib/characteristics/binary.rb in characteristics-0.5.2 vs lib/characteristics/binary.rb in characteristics-0.6.0
- old
+ new
@@ -41,11 +41,19 @@
def delete?
@ord == 0x7F
end
+ def c1?
+ false
+ end
+
def blank?
BLANKS.include?(@ord) || SEPARATORS.include?(@ord)
+ end
+
+ def separator?
+ SEPARATORS.include?(@ord)
end
def format?
false
end
\ No newline at end of file