Class: Mustermann::Sinatra

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

Overview

Sinatra 2.0 style pattern implementation.

Examples:

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

See Also:

Instance Attribute Summary

Attributes inherited from RegexpBased

#regexp

Method Summary

Methods inherited from AST::Pattern

#expand

Methods inherited from RegexpBased

#initialize

Methods inherited from Pattern

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

Constructor Details

This class inherits a constructor from Mustermann::RegexpBased