GeoHex V3 for Ruby
gem install geohex-v3
require 'geohex/v3' # or require 'geohex' Geohex::V3::Zone.encode 35.360556, 138.727778, 7 # => "XM5633055"
GeoHex doc