[yast-devel] simple ruby client to test SCR code?

2013-09-09 Thread Arvin Schnell
Hi, what is the simplest Ruby based client to test SCR code? I tried something like this: module X include Yast r = SCR.Execute(path(.target.bash), /usr/bin/true) Builtins.y2milestone(r) end but here path is undefined. Regards, Arvin -- To unsubscribe, e-mail:

Re: [yast-devel] simple ruby client to test SCR code?

2013-09-09 Thread Martin Vidner
On Mon, Sep 09, 2013 at 12:21:31PM +0200, Arvin Schnell wrote: what is the simplest Ruby based client to test SCR code? $ ruby -r yast -e 'Yast::SCR.Execute(Yast::Path.new(.target.bash), xeyes)' I tried something like this: module X include Yast r = SCR.Execute(path(.target.bash),

Re: [yast-devel] simple ruby client to test SCR code?

2013-09-09 Thread Vladimir Moravec
Dne 9.9.2013 12:21, Arvin Schnell napsal(a): Hi, what is the simplest Ruby based client to test SCR code? I tried something like this: module X include Yast r = SCR.Execute(path(.target.bash), /usr/bin/true) Builtins.y2milestone(r) end but here path is undefined. If you