Method: ALib::Util#escape

Defined in:
lib/alib-0.5.1/util.rb

#escape(s, char, esc) ⇒ Object

new copy of s with any occurances of char escaped with esc



383
384
385
386
387
# File 'lib/alib-0.5.1/util.rb', line 383

def escape s, char, esc
#--{{{
  escape! "#{ s }", char, esc
#--}}}
end