Module: Pione::Util::BackslashNotation

Defined in:
lib/pione/util/backslash-notation.rb

Class Method Summary collapse

Class Method Details

.apply(s) ⇒ Object



5
6
7
# File 'lib/pione/util/backslash-notation.rb', line 5

def apply(s)
  s.to_s.gsub(/\\(.)/){$1}
end