class Reline::Unicode

def self.escape_for_print(str)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.escape_for_print: (String str) -> String

This signature was generated using 5 samples from 1 application.

def self.escape_for_print(str)
  str.chars.map! { |gr|
    escaped = EscapedPairs[gr.ord]
    if escaped && gr != -"\n" && gr != -"\t"
      escaped
    else
      gr
    end
  }.join
end