From: kazaam Date: 2007-09-04T23:10:07+09:00 Subject: Re: Feeding a codeblock/function with an array or something similar? Hi thanks, I would do this method to make my code smaller and better looking but the whole: > command_list << {:command => 'rm something', :error_msg => 'I couldn't > remove something'} > command_list << {:command => 'apt-get install thishere', :error_msg => > 'Error while installing the packet'} > command_list << {:command => 'module-assistant a-i mymodule', > :error_msg => 'Error while installing the module'} would blow the code even more than my momentan solution :) -- kazaam