Sha256: edab9de711cff94f3114b5254912d168bc40c918084ab30bdfc69631d6e34ad6
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
require 'zip_geo_jp/version' require 'zip_geo_jp/record' module ZipGeoJp class << self # Convert zip code to latitude/longitude # # @param [String] zip_code # @return [Record] def [](zip_code) ZipGeoJp::Record[zip_code.unicode_normalize(:nfkc).sub('-', '')] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zip_geo_jp-0.1.0 | lib/zip_geo_jp.rb |