A port (or a project inspired by) Cantino's Ruby Huggin project