defunkt/resque — pull request #804 by m1foley (2013-01-29 22:53:18+00:00)
Title: Resque#inline accepts a block as alternative to Resque#inline=

The "inline" attribute is often used only for specific blocks of code, like in test suites. A block is more intuitive, safe, and succinct than #inline= for such use cases because it does not require "ensure" to set #inline=false.

[Gist of before/after usage](https://gist.github.com/4668532#file-resque_inline_with_block-rb)

I'm not sure if this is a valid concern (I'm inexperienced with threading and such) but one potential problem I can think of: people might be unaware that the "inline" setting has a scope not limited to the block, and while it's running another command outside the block gets executed.