# File lib/lockfile.rb, line 533 def attempt ret = nil loop{ break unless catch('attempt'){ ret = yield } == 'try_again' } ret end