diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-01-17 15:20:35 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-01-17 15:20:35 +0100 |
commit | 41ebb5564d0ea5511c48910863814627acf91f94 (patch) | |
tree | 12579a7fc455e0a0abe1dd74b452fc6d1ae058c9 /guides | |
parent | 5d1b7c3b441654e8008dcd303f5367883ec660a6 (diff) | |
download | rails-41ebb5564d0ea5511c48910863814627acf91f94.tar.gz rails-41ebb5564d0ea5511c48910863814627acf91f94.tar.bz2 rails-41ebb5564d0ea5511c48910863814627acf91f94.zip |
Make ref return the internal symbol.
We delegate to_sym to the internal symbol, which we've already called to_sym on in
initialize, so we don't need to do that.
We also know to_sym will never return a falsy value, so we'll never hit to_s.
Just return the symbolized symbol.
Diffstat (limited to 'guides')
0 files changed, 0 insertions, 0 deletions