Class: Resedit::StdEscaper

Inherits:
SlashEscaper show all
Defined in:
lib/resedit/text/escaper.rb

Constant Summary

Constants inherited from TextEscaper

TextEscaper::STD_TABLE

Instance Method Summary collapse

Methods inherited from TextEscaper

#escape

Instance Method Details

#_escape(b) ⇒ Object



76
77
78
# File 'lib/resedit/text/escaper.rb', line 76

def _escape(b)
    STD_TABLE[b] ? STD_TABLE[b] : super(b)
end

#unescape(line) ⇒ Object



80
81
82
# File 'lib/resedit/text/escaper.rb', line 80

def unescape(line)
    tableReplace(line,STD_TABLE)
end