lib/characteristics/ascii.rb in characteristics-0.2.0 vs lib/characteristics/ascii.rb in characteristics-0.3.0
- old
+ new
@@ -14,10 +14,14 @@
def initialize(char)
super
@ord = char.ord if @is_valid
end
+ def unicode?
+ false
+ end
+
def assigned?
true
end
def control?
@@ -36,7 +40,11 @@
false
end
def blank?
@is_valid && ( BLANKS.include?(@ord) || SEPARATORS.include?(@ord) )
+ end
+
+ def format?
+ false
end
end
\ No newline at end of file