How to call Ruby function in javascript?

I wrote a function in Ruby but don't know how to call it in javascript,
anyone could help? Thanks

-Steve

wanjun@gmail.com wrote:

I wrote a function in Ruby but don't know how to call it in javascript,
anyone could help? Thanks

-Steve

God is in the details. What are you trying to do?

David Vallner