Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
ruby to javascript
artaban.de.medee
1/6/2007 9:42:00 AM
i've downloaded a demo of rb2js.rb (ruby to javascript) from
<
http://po-ru.com/diary/convert-ruby-to-javas...
this demo works great.
then i've try to use rb2js.rb to convert a Color class (which has been
tested within ruby) from ruby to javascript, the conversion fails
because of :
rb2js:198:in 'handle': can't perform method dispatche without explicit
receiver (RB2JS::Unhandled)
althought i did mimic, as far as possible, the Paul Battley way of doing
that.
the ruby file i want to convert into javascript is here :
<
http://www.yvon-thoraval.com/ruby2js/demo/co...
the output being in :
<
http://www.yvon-thoraval.com/ruby2js/demo/color....
in case someone else uses rb2js.rb...
--
Artaban de Médée
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
ruby to javascript
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password