On 12/4/05, Simon Strandgaard <neoneye / gmail.com> wrote:
> On 12/4/05, Henrik OrméÔen <henrik.ormasen / sos-rasisme.no> wrote:
> >  FAKE_DATABASE.delete_if {|x| x.var_of_x == @body }
> [snip]
> >
> > How can I do this?
>
> how about ?
>
> [1, 2, 3, 4, 5].delete_if {|i| i==3}    #=> [1, 2, 4, 5]

Argh.. realized that you wanted x.var_of_x to be deleted.
I don't understand what you want.. can you elaborate?

--
Simon Strandgaard