Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/wavefront-sdk/mixins.rb
Overview
Extensions to stdlib Hash
Instance Method Summary collapse
-
#to_wf_tag ⇒ Object
Convert a tag hash into a string.
Instance Method Details
#to_wf_tag ⇒ Object
Convert a tag hash into a string. The quoting is recommended in the WF wire-format guide. No validation is performed here.
79 80 81 |
# File 'lib/wavefront-sdk/mixins.rb', line 79 def to_wf_tag self.map { |k, v| "#{k}=\"#{v}\"" }.join(' ') end |