26 Aug
2013
26 Aug
'13
14:33
Dne 16.8.2013 12:31, Josef Reidinger napsal(a):
BTW2 for lslezak example I think it can be done better with constant so it is clear what is default like
PART_DEFAULTS = { "fsid" => 0, "type" => :none }
part = Hash.new { |h,k| PART_DEFAULTS[k] }
Yeah, thanks, this looks much better! -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org