Mailinglist Archive: yast-devel (53 mails)

< Previous Next >
Re: [yast-devel] Builtins.y2milestone(),... marked as deprecated

Dne 4.2.2014 14:04, Vladimir Moravec napsal(a):
On 02/04/2014 11:16 AM, Ladislav Slezak wrote:

Hi all,

another change in yast2-ruby-bindings-3.1.7 is a new
Yast::Logger module which wraps Y2Logger mentioned in the previous mail.

The module provides standard Ruby logging way [1] for writing into y2log.

Done, the old logging builtins were marked as deprecated.

I really like this and think it deserves putting a similar example
either directly into the main yast-ruby-bindings or at least
on top of the y2logger.rb file as a 'real world' example. This will be
useful to every yast developer, even more if it is easier to spot.

There is an example in y2logger.rb file. Moreover the yardoc documentation is
the @deprecated tag contains a link to Yast::Logger (with the example).

See details in


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >