]> git.wincent.com - walrat.git/commit
Simplify LocationTracking#rightmost?
authorGreg Hurrell <greg@hurrell.net>
Mon, 20 Oct 2014 14:55:58 +0000 (07:55 -0700)
committerGreg Hurrell <greg@hurrell.net>
Mon, 20 Oct 2014 15:12:42 +0000 (08:12 -0700)
commit0a3e8eb6ecf3d4189a27f111a01668967fcf6e7f
tree9bef7c4102b8f2b0a3f1c5f3f85bf04b772ccc03
parent2a165116ab3d3ffe2e6f3e224f18c54c384d2974
Simplify LocationTracking#rightmost?

- drop unnecessary explicit `self` receivers
- merge final two conditional clauses into one
lib/walrat/location_tracking.rb