foo, bar = 1, 0/0 rescue 0, 0 # this won't work foo.should eql 0 bar.should eql 0
Как мне пройти этот проход?
foo, bar = ([1, 0/0] rescue [0, 0])