Class: Rack::Mount::GeneratableRegexp
- Inherits:
-
Regexp
- Object
- Regexp
- Rack::Mount::GeneratableRegexp
- Includes:
- InstanceMethods
- Defined in:
- lib/rack/mount/generatable_regexp.rb
Overview
:nodoc:
Defined Under Namespace
Modules: InstanceMethods Classes: DynamicSegment
Instance Method Summary collapse
-
#initialize(regexp) ⇒ GeneratableRegexp
constructor
A new instance of GeneratableRegexp.
Methods included from InstanceMethods
#captures, #defaults, #defaults=, extended, #freeze, #generatable?, #generate, #required_captures, #required_defaults, #required_params, #segments
Constructor Details
#initialize(regexp) ⇒ GeneratableRegexp
Returns a new instance of GeneratableRegexp.
205 206 207 208 |
# File 'lib/rack/mount/generatable_regexp.rb', line 205 def initialize(regexp) super segments end |