Hak*_*ari 2 ruby exception-handling
foo, bar = 1, 0/0 rescue 0, 0 # this won't work
foo.should eql 0
bar.should eql 0
Run Code Online (Sandbox Code Playgroud)
我怎么去做这个通行证?
| 归档时间: |
|
| 查看次数: |
237 次 |
| 最近记录: |