Sha256: dd2cd1e8e70fbb8c4857b6ef459ec86776dcf6c5ee112be697518f3f74f664ec

Contents?: true

Size: 96 Bytes

Versions: 5

Compression:

Stored size: 96 Bytes

Contents

class Hash
  def to_url
    "?" + collect { |key, value| "#{key}=#{value}" }.join("&")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geonames_api-0.0.6 lib/geonames_api/hash.rb
geonames_api-0.0.5 lib/geonames_api/hash.rb
geonames_api-0.0.4 lib/geonames_api/hash.rb
geonames_api-0.0.3 lib/geonames_api/hash.rb
geonames_api-0.0.2 lib/geonames_api/hash.rb