Flexible solution to build any kind of menu in any Ruby framework