Class: Rack::Mount::GeneratableRegexp

Inherits:
Regexp
  • Object
show all
Includes:
InstanceMethods
Defined in:
lib/rack/mount/generatable_regexp.rb

Overview

:nodoc:

Defined Under Namespace

Modules: InstanceMethods Classes: DynamicSegment

Instance Method Summary collapse

Methods included from InstanceMethods

#captures, extended, #generatable?, #generate, #required_captures, #segments

Constructor Details

#initialize(regexp) ⇒ GeneratableRegexp

Returns a new instance of GeneratableRegexp.



163
164
165
166
# File 'lib/rack/mount/generatable_regexp.rb', line 163

def initialize(regexp)
  super
  segments
end