Root scripts and ruby extension

Hi,
I need to execute a root script into a ruby script.
In the tutorials directory are reported only example that use root system objects.
How is possible to call own scripts (.C) into ruby interpreter?

Thanks in advance
Best regards
Andrea Bulgarelli

Use

gROOT->ProcessLine(".x myscript.C"); or

gROOT->ProcessLine(".L myscript.C"); gROOT->ProcessLine("myscript();");
Rene