Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using block_given in the presence of aliases
defined?(yield) bypasses the block_given? method (or any aliases to it) and always does the right thing.
- Loading branch information