Skip to content

Make within_frame return the value of calling the given block #700

Merged
merged 1 commit into from Jul 9, 2012

2 participants

@alishutc

Currently when using within_frame the return value of the given block gets swallowed up, so you can't do stuff like

foo = within_frame('bar') { #do stuff }

This fixes it so that the return value bubbles up.

@jnicklas jnicklas merged commit 1ee7975 into jnicklas:master Jul 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.