Module: IREGEXPGRAMMAR::SingleCharEsc1
- Defined in:
- lib/parser/iregexpgrammar.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
709 710 711 712 |
# File 'lib/parser/iregexpgrammar.rb', line 709 def ast ch = text_value[1] {"n" => "\n", "r" => "\r", "t" => "\t"}[ch] || ch end |