class method self.required_segment

Ruby on Rails 4.2.11.3

Since v4.2.11.3 Last seen in v4.2.11.3

Signature

self.required_segment(symbol)

No documentation comment.

Parameters

symbol req
Source
# File actionpack/lib/action_dispatch/journey/visitors.rb, line 17
      def self.required_segment(symbol)
        Parameter.new symbol, ESCAPE_SEGMENT
      end

Defined in actionpack/lib/action_dispatch/journey/visitors.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Journey::Format

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close