class Geocoder::Result::Mapbox

def context_part(name, key = 'text')

def context_part(name, key = 'text')
  (context.detect { |c| c['id'] =~ Regexp.new(name) } || {})[key]
end