diff options
author | John Hawthorn <john@hawthorn.email> | 2019-02-25 14:43:30 -0800 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2019-02-25 17:43:30 -0500 |
commit | dcb13470991539ab581e02670738900c39976ff4 (patch) | |
tree | 4fdbfa0b79aa04f0bbee7c7ca2e0b81bc86feb02 /actionpack/lib/action_dispatch/routing/mapper.rb | |
parent | 56b030605b4d968077a4ddb96b4ab619e75fb999 (diff) | |
download | rails-dcb13470991539ab581e02670738900c39976ff4.tar.gz rails-dcb13470991539ab581e02670738900c39976ff4.tar.bz2 rails-dcb13470991539ab581e02670738900c39976ff4.zip |
Improve Template#inspect output (#35407)
* Don't call inspect from identifier_method_name
* Add locals Template#inspect
Handler, formats, and variant are usually obvious from looking at the
identifier. However it's not uncommon to have different locals for the
same template so we should make that obvious in inspect.
* Add tests for short_identifier and inspect
[John Hawthorn + Rafael Mendonça França]
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/mapper.rb')
0 files changed, 0 insertions, 0 deletions