Return value improvements #896

merged 8 commits into from Jun 29, 2016


None yet

1 participant


For methods like

def x
  @x ||= blah

Brakeman will now treat the return value as blah and not @x ||= blah.

Also explicit returns will be processed the same as implicit to get at the best "real" return value.

@presidentbeef presidentbeef merged commit 89dfc2a into master Jun 29, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@presidentbeef presidentbeef deleted the op_or_return_values branch Jul 22, 2016
@presidentbeef presidentbeef locked and limited conversation to collaborators Nov 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.