Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/wavefront-sdk/stdlib/string.rb
Overview
Extensions to stdlib String
Instance Method Summary collapse
-
#tagescape ⇒ String
Join strings together to make a URI path in a way that is more flexible than URI::Join.
Instance Method Details
#tagescape ⇒ String
Join strings together to make a URI path in a way that is more flexible than URI::Join. Removes multiple and trailing separators. Does not have to produce fully qualified paths. Has no concept of protocols, hostnames, or query strings.
13 14 15 |
# File 'lib/wavefront-sdk/stdlib/string.rb', line 13 def tagescape gsub('"', '\"') end |