aboutsummaryrefslogtreecommitdiffstats
path: root/guides/assets/images/tab_red.gif
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-01-17 15:26:31 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-01-17 16:31:03 +0100
commitf48098bd80cb93fcc670f2d0a016a64171dfad65 (patch)
tree7677ab84c5fd9f6f522228ad3f6ac89dac9e6c77 /guides/assets/images/tab_red.gif
parent41ebb5564d0ea5511c48910863814627acf91f94 (diff)
downloadrails-f48098bd80cb93fcc670f2d0a016a64171dfad65.tar.gz
rails-f48098bd80cb93fcc670f2d0a016a64171dfad65.tar.bz2
rails-f48098bd80cb93fcc670f2d0a016a64171dfad65.zip
Spare to_sym call in `==`.
The @symbol has already been converted to a symbol in initialize, so no need to call to_sym when comparing it. Ditch early return for a simple unless statement.
Diffstat (limited to 'guides/assets/images/tab_red.gif')
0 files changed, 0 insertions, 0 deletions