Re: [yast-devel] Help: Lost in Ruby

2013-08-12 Thread Martin Vidner
On Fri, Aug 09, 2013 at 05:35:44PM +0200, Arvin Schnell wrote: On Fri, Aug 09, 2013 at 04:58:22PM +0200, David Majda wrote: I didn't examine your patch in detail, but it seems to me that you are mixing Ruby concepts (classes, modules) with ones inherited from YaST (mainly includes). My

Re: [yast-devel] Help: Lost in Ruby

2013-08-09 Thread David Majda
Hi, Dne 7.8.2013 12:01, Arvin Schnell napsal(a): Hi, I would like to use some classes in the converted ruby code but I have problems with function lookup. [...] So what's the correct way here? I didn't examine your patch in detail, but it seems to me that you are mixing Ruby concepts

Re: [yast-devel] Help: Lost in Ruby

2013-08-09 Thread Arvin Schnell
On Fri, Aug 09, 2013 at 04:58:22PM +0200, David Majda wrote: Hi, Dne 7.8.2013 12:01, Arvin Schnell napsal(a): Hi, I would like to use some classes in the converted ruby code but I have problems with function lookup. [...] So what's the correct way here? I didn't examine your

[yast-devel] Help: Lost in Ruby

2013-08-07 Thread Arvin Schnell
Hi, I would like to use some classes in the converted ruby code but I have problems with function lookup. I have figured out how to call functions (e.g. ArrangeButtons from include/partitioning/ep-lib.rb in my class method by using module_function :ArrangeButtons in ep-lib.rb. The problem now