method
names
rails 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