method
names
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Journey::Router::Strexp
names()public
No documentation available.
# File actionpack/lib/action_dispatch/journey/router/strexp.rb, line 18
def names
@path.scan(/:\w+/).map { |s| s.tr(':', '') }
end