Hi ...

I want to delete an element from an array
using the following code:

use Inline Ruby => <<CODE;

def remove_from_array(array,elem)
        array.delete elem
        return array
end

CODE

The code doesn't work like I want, because
I get the following error:

#<ArgumentError: wrong # of arguments(42 for 2)>

-- 
Jens Luedicke
[EMAIL PROTECTED]

Reply via email to