class Escape::LTSVEscaped

Public Instance Methods

inspect() click to toggle source
# File escape.rb, line 548
def inspect
  if /\n\z/ =~ @str
    "\#<#{self.class}: #{@str.chomp}>"
  else
    "\#<#{self.class}: #{@str} (no newline)>"
  end
end