3 ms·The yield Keyword in RUBY2 points by mehdi-farsi 8y agosdegutis 8y agoI don't remember the exact details, but there are drawbacks to using yield instead of naming the block variable in the method definition, even if you're only assigning yield to a variable.