From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9vue?=) Date: 2007-01-14T17:05:06+09:00 Subject: Re: [ANN] RubyJS - Convert Ruby to Javascript Michael Neumann wrote: > > With RubyJS you can transform a subset of Ruby into Javascript code. yes but how to interact with the browser window, for example, say i have a :
 in the html document and i want to redefine ruby
puts like this :

def puts(str)
  document.getElementById('STDOUT')['inneHTML'] += str + "\n"
end

if i do that into your HelloWorld class i get errors :

method_generator.rb:1040:in `method_missing': Not implemented
(RuntimeError)
[...]

is their a way to let RubyJS knows that "document.getElementById..." is
allready JS ???
-- 
Artaban de M�d�e