diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-17 17:47:03 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-17 17:47:03 -0300 |
commit | f57bafe44b14f836a8c28f9a5f187d4876499621 (patch) | |
tree | 4f665ca18a3cb7003789a3cbb56a1ee23915b332 /tools | |
parent | 8e3d9438390c6277ee14f00f773d2c440e7cf4d5 (diff) | |
download | rails-f57bafe44b14f836a8c28f9a5f187d4876499621.tar.gz rails-f57bafe44b14f836a8c28f9a5f187d4876499621.tar.bz2 rails-f57bafe44b14f836a8c28f9a5f187d4876499621.zip |
Prefer if/else for this case
One of the branches is using a proc to check if the value respond_to a
method so it is better to not do case comparations
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions