Sha256: 399445e6a4b7a0886174be7c053be908f1caa4d6cea839e0afbc869e3342088e
Contents?: true
Size: 739 Bytes
Versions: 52
Compression:
Stored size: 739 Bytes
Contents
module ActionDispatch module Journey # :nodoc: class Router # :nodoc: class Strexp # :nodoc: class << self alias :compile :new end attr_reader :path, :requirements, :separators, :anchor, :ast def self.build(path, requirements, separators, anchor = true) parser = Journey::Parser.new ast = parser.parse path new ast, path, requirements, separators, anchor end def initialize(ast, path, requirements, separators, anchor = true) @ast = ast @path = path @requirements = requirements @separators = separators @anchor = anchor end end end end end
Version data entries
52 entries across 51 versions & 8 rubygems