Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/liquid/ext/string.rb
Instance Method Summary collapse
Instance Method Details
#clean_quote ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/liquid/ext/string.rb', line 4 def clean_quote if index(/["\s]/) %{"#{tr('"', "'")}"} else self end end |