module Fog::Proxmox::Hash
module Hash mixins
Public Class Methods
stringify(hash)
click to toggle source
# File lib/fog/proxmox/hash.rb, line 23 def self.stringify(hash) return '' unless hash string = '' hash.each do |key, value| string += "#{key}=#{value}," if value end string.slice(0, string.length - 1) if string.length > 0 end