[FXRuby] Simple Dialog question

How can I make the pressing of enter be equivalent to pressing Accept or OK
on a dialog box in FXRuby? Escape works as expected.

On a related note, I’m getting a bunch of access permission errors on the
Fox documentation site
(http://home.hiwaay.net/~johnson2/fox/fox-api/FXEvent.html for example).

David Naseby