Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 208 Bytes

File metadata and controls

9 lines (6 loc) · 208 Bytes

UrlDictionary

A library to resolve url segments for sites

How to use

dict = UrlDictionary.new('dk')
dk_dict.t('province') #=> "landsdele"
dk_dict.t('location.office') #=> "kontorlokaler"