diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:14:15 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:14:15 +0000 |
commit | 82171c3406a790ac9740c439e2aafce21853e0a0 (patch) | |
tree | 71139d061c87fbde7aefc12d9364339df6d228b8 /bin | |
parent | 1383d0f44f8ce524c297714bd288f95a548107ed (diff) |
Avoid redudent returns.
The last expression of a method is the return value. So:
def foo; false ; end
Is the same as:
def foo; return false; end
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions