Sha256: 44dca33acfc2e0a5190ea8b8ade39c3516eed710407ce91c8992edaab3367f37
Contents?: true
Size: 233 Bytes
Versions: 8
Compression:
Stored size: 233 Bytes
Contents
class GeocoderResponse < Struct.new(:code, :latitude, :longitude) def self.from_array(array) array.collect do |geocode| from_hash(:code => geocode[0], :latitude => geocode[1], :longitude => geocode[2]) end end end
Version data entries
8 entries across 8 versions & 1 rubygems