Class: Mustermann::Rails

Inherits:
AST show all
Defined in:
lib/mustermann/rails.rb

Overview

Rails style pattern implementation.

Examples:

Mustermann.new('/:foo', type: :rails) === '/bar' # => true

See Also:

Instance Attribute Summary

Attributes inherited from RegexpBased

#regexp

Method Summary

Methods inherited from RegexpBased

#initialize

Methods inherited from Pattern

#===, #=~, #initialize, #match, #named_captures, #names, new, #params, supported?, supported_options, #to_s

Constructor Details

This class inherits a constructor from Mustermann::RegexpBased