Ruby Tk binding get the value of KeyPress

I recently started using Tk on ruby because i don’t like the way my code
output looks on a command line.
I learned a bit about the KeyPress binding, but I don’t know how to get
the Key, which was pressed.
Does someone know how to do this?