Michael Neumann
1/15/2007 8:11:00 PM
Une Bévue wrote:
> Michael Neumann <mneumann@ntecs.de> wrote:
>
>> If you want to insert Javascript code directly into your Ruby code, use
>> backticks:
>>
>> def puts(str)
>> `document.getElemementById('STDOUT')['innerHTML'] += str + "\n"`
>> end
>
> I got the same error with that writing :
> ../bin/../lib/rubyjs/method_generator.rb:1040:in `method_missing': Not
> implemented (RuntimeError)
> [...]
> from ../bin/rubyjs_gen:82
Ah, that seems to be a different problem. Can I see your "Ruby/JS" code?
You probably use a Ruby construct which is not yet supported ("case" for
example).
Regards,
Michael