method
new
v2.3.8 -
Show latest stable
- Class:
ActionController::Routing::RouteBuilder
new()public
No documentation available.
# File actionpack/lib/action_controller/routing/builder.rb, line 7
def initialize
@separators = Routing::SEPARATORS
@optional_separators = %w( / )
@separator_regexp = /[#{Regexp.escape(separators.join)}]/
@nonseparator_regexp = /\A([^#{Regexp.escape(separators.join)}]+)/
@interval_regexp = /(.*?)(#{separator_regexp}|$)/
end