diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-14 12:08:30 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-14 12:08:30 -0700 |
commit | 565582c0f5f1fe17357df67978e2f684db305bf9 (patch) | |
tree | 9afc47975404e16f238e3e21ce38be7d58a7d785 /guides/source/engines.md | |
parent | b543ee74f4cc44bcef6dac92859c77810e08dbdb (diff) | |
download | rails-565582c0f5f1fe17357df67978e2f684db305bf9.tar.gz rails-565582c0f5f1fe17357df67978e2f684db305bf9.tar.bz2 rails-565582c0f5f1fe17357df67978e2f684db305bf9.zip |
explicitly return nil from `get_to_from_path`
if `to` was initialized, this method would return, so we can eliminate
the to ||= in the conditional. Finally, let's return a nil in the else
block so that it's explicit that this method can return nil
Diffstat (limited to 'guides/source/engines.md')
0 files changed, 0 insertions, 0 deletions