A
Ahmed Abdelsalam
Hi,...
I'd like to call java function from inside JRuby. For example, when a
certain event happen inside JRuby script, the java function is executed.
To simplify it:
Here is some ruby code:
def handle_value(value)
# I want to send value to the java function to handle it
end
Here is a java function
void handle_value(String value)
{
System.out.println("value = " + value);
}
Any help please?
Regards,...
Ahmed
I'd like to call java function from inside JRuby. For example, when a
certain event happen inside JRuby script, the java function is executed.
To simplify it:
Here is some ruby code:
def handle_value(value)
# I want to send value to the java function to handle it
end
Here is a java function
void handle_value(String value)
{
System.out.println("value = " + value);
}
Any help please?
Regards,...
Ahmed