method
from_string
v4.2.9 -
Show latest stable
- Class:
ActionDispatch::Journey::Path::Pattern
from_string(string)public
No documentation available.
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 9
def self.from_string string
new Journey::Router::Strexp.build(string, {}, ["/.?"], true)
end