Method: String#is_printable?
- Defined in:
- lib/openc3/core_ext/string.rb
#is_printable? ⇒ Boolean
Returns Whether the string contains only printable characters.
213 214 215 |
# File 'lib/openc3/core_ext/string.rb', line 213 def is_printable? if NON_PRINTABLE_REGEX.match?(self) then false else true end end |