Mailinglist Archive: yast-devel (126 mails)

< Previous Next >
[yast-devel] ruby bindings 0.3.5
  • From: "Duncan Mac-Vicar Prett" <dmacvicar@xxxxxxx>
  • Date: Tue, 3 Nov 2009 16:38:18 +0100
  • Message-id: <200911031638.18286.dmacvicar@xxxxxxx>

I submitted yast2-ruby-bindings 0.3.5 to YaST:Head.

It now supports ruby components with nested modules. That is a file like:
/usr/share/YaST2/modules/Foo::Bar.rb or /usr/share/YaST2/modules/Foo/Bar.rb

containing:

module Foo
module Bar
def self.hello
...
end
end
end

Can be called from ycp as expected.

Still, I don't understand why people use the YaPI namespace?

I haven't submitted to factory, please test :-)

--
Duncan Mac-Vicar P. - Engineering Manager, YaST
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages