Ruby & Mozilla

Hello,

I would like to ask for any information on querying the mozilla DOM from
Ruby (something like PyXPCOM or JavaXPCOM for Python/Java) - basically
what i need is the acces to the Mozilla DOM tree + the Box Model and the
Computed Style of a Mozilla DOM element.

Thanks,
Peter