Is there an example of using "Prototype Window Class' with r

I feel like a bit of an idiot asking this but does anyone have an
example of being used
in rails. Should I try and feed it through using rjh.
Like this: (‘win = new Window(“window_id”, {className: “mac_os_x”,
title: “Sample”, width:200, height:150});win.getContent().innerHTML =

Hello world !!


I think I am missing something really obvious.