Mailinglist Archive: opensuse-bugs (3517 mails)

< Previous Next >
[Bug 705417] ruby-bindings: lower-cased module not found by ycp

https://bugzilla.novell.com/show_bug.cgi?id=705417

https://bugzilla.novell.com/show_bug.cgi?id=705417#c11


--- Comment #11 from Klaus Kämpf <kkaempf@xxxxxxxx> 2011-09-07 09:51:49 UTC ---
(In reply to comment #9)
Example from YaST++ project:

file name is kerberos_client.rb

and it is written like:


module YLib
module KerberosClient
...
end
end

How should it be imported from YCP?

That would be
require "y_lib/kerberos_client"
doing it Rails-style (IIRC)

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >