Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/babelyoda/string.rb
Instance Method Summary collapse
Instance Method Details
#escape_double_quotes ⇒ Object
2 3 4 |
# File 'lib/babelyoda/string.rb', line 2 def escape_double_quotes self.gsub(/([^\\])"/, "\\1\\\"") end |