Parent

Methods

Journey::Router::Strexp

Attributes

path[R]
requirements[R]
separators[R]
anchor[R]

Public Class Methods

new(path, requirements, separators, anchor = true) click to toggle source
    # File lib/journey/router/strexp.rb, line 10
10:       def initialize path, requirements, separators, anchor = true
11:         @path         = path
12:         @requirements = requirements
13:         @separators   = separators
14:         @anchor       = anchor
15:       end

Public Instance Methods

names() click to toggle source
    # File lib/journey/router/strexp.rb, line 17
17:       def names
18:         @path.scan(/:\w+/).map { |s| s.tr(':', '') }
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.