Module: Rack::Utils
- Included in:
- Lokka::Helpers
- Defined in:
- lib/lokka.rb
Instance Method Summary collapse
Instance Method Details
#escape(s) ⇒ Object
100 101 102 |
# File 'lib/lokka.rb', line 100 def escape(s) escape_org(s).force_encoding(Encoding.default_external) end |
#escape_org ⇒ Object
97 |
# File 'lib/lokka.rb', line 97 alias :escape_org :escape |
#unescape(s) ⇒ Object
103 104 105 |
# File 'lib/lokka.rb', line 103 def unescape(s) unescape_org(s).force_encoding(Encoding.default_external) end |
#unescape_org ⇒ Object
98 |
# File 'lib/lokka.rb', line 98 alias :unescape_org :unescape |