Object
# File lib/journey/router/strexp.rb, line 10 def initialize path, requirements, separators, anchor = true @path = path @requirements = requirements @separators = separators @anchor = anchor end
# File lib/journey/router/strexp.rb, line 17 def names @path.scan(/:\w+/).map { |s| s.tr(':', '') } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.