diff options
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/router')
-rw-r--r-- | actionpack/lib/action_dispatch/journey/router/strexp.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/actionpack/lib/action_dispatch/journey/router/strexp.rb b/actionpack/lib/action_dispatch/journey/router/strexp.rb deleted file mode 100644 index 53630ea87b..0000000000 --- a/actionpack/lib/action_dispatch/journey/router/strexp.rb +++ /dev/null @@ -1,26 +0,0 @@ -module ActionDispatch - module Journey # :nodoc: - class Router # :nodoc: - class Strexp # :nodoc: - class << self - alias :compile :new - end - - attr_reader :path, :requirements, :separators, :ast - - def self.build(path, requirements, separators) - parser = Journey::Parser.new - ast = parser.parse path - new ast, path, requirements, separators - end - - def initialize(ast, path, requirements, separators) - @ast = ast - @path = path - @requirements = requirements - @separators = separators - end - end - end - end -end |