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, #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