Monday, 10 February 2014

refuse to fail Exception

loop do
begin
sleep 1
eval "djsakru3924r9eiuorwju3498 += 5u84fior8u8t4ruyf8ihiure"
rescue Exception
puts "I refuse to fail or be stopped!"
end
end
#http://stackoverflow.com/questions/10048173/why-is-it-bad-style-to-rescue-exception-e-in-ruby
#^CI refuse to fail or be stopped!
#^CI refuse to fail or be stopped!
#^CI refuse to fail or be stopped!
view raw gistfile1.rb hosted with ❤ by GitHub

No comments:

Post a Comment