Marco Lazzeri wrote:
> Hi!
> 
> Could someone please help me understanding why the next two lines of 
> code are different?
> 
>   next unless line =~ /=/
> 
>   next if !line =~ /=/
> 
> 
> Thanks,
> Marco

I suspect !line =~ /=/ is not the same as !(line =~ /=/).  Do you have 
more of an example that people can run in IRB to verify?

-- 
Posted via http://www.ruby-forum.com/.