diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-05 21:33:26 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-12-05 21:33:26 +0100 |
commit | 754a3641f5bab6a2dbe3e4e42e7903090714b1ae (patch) | |
tree | d40b5a718dd6becea10cde8fafe377f0e4b3b797 /railties/lib/rails/test_help.rb | |
parent | eb4deb9dc6493de5b7d452a0500707dd8ce69200 (diff) | |
download | rails-754a3641f5bab6a2dbe3e4e42e7903090714b1ae.tar.gz rails-754a3641f5bab6a2dbe3e4e42e7903090714b1ae.tar.bz2 rails-754a3641f5bab6a2dbe3e4e42e7903090714b1ae.zip |
Spruce up `command_for`.
* Ditch the instance methods local variable.
* Prefer Ruby's default nil return, and remove else branch.
Diffstat (limited to 'railties/lib/rails/test_help.rb')
0 files changed, 0 insertions, 0 deletions