1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
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_controller AbstractController::Translation#t: dup options 2019-02-15 18:21:41 +02:00
action_controller Deduplicate strings held by the router 2019-04-03 22:26:52 +02:00
action_dispatch Adds named_captures to MatchData to emulate Regex 2019-04-09 12:40:26 -07:00
action_pack Prep release 2019-03-11 11:58:15 -04:00
abstract_controller.rb Add autoload hook for AbstractController::ActionNotFound 2018-11-28 14:21:19 -05:00
action_controller.rb Include default headers by default in API mode 2018-04-06 15:13:28 -04:00
action_dispatch.rb Bump license years for 2019 2018-12-31 10:24:38 +07:00
action_pack.rb Bump license years for 2019 2018-12-31 10:24:38 +07:00