1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Brandon Weaver 79c15566da Adds named_captures to MatchData to emulate Regex
This change adds a `named_captures` method to
`ActionDispatch::Journey::Path::MatchData` in order to emulate a similar
method present on `Regex`'s `MatchData` present in Ruby core.

This method can be useful for introspection of routes without the need
to use `zip` while testing or developing in Rails core.
2019-04-09 12:40:26 -07:00
..
abstract Module#{define_method,alias_method,undef_method,remove_method} become public since Ruby 2.5 2018-12-21 01:39:18 +09:00
assertions Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
controller Always reject files external to app 2019-04-03 09:02:28 -07:00
dispatch Deduplicate strings held by the router 2019-04-03 22:26:52 +02:00
fixtures Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
journey Adds named_captures to MatchData to emulate Regex 2019-04-09 12:40:26 -07:00
lib/controller Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
routing Use frozen string literal in actionpack/ 2017-07-29 14:02:40 +03:00
abstract_unit.rb Output junit format test report 2019-04-04 14:34:46 +09:00