ruby hooks a