Class: Mustermann::Simple

Inherits:
RegexpBased show all
Defined in:
lib/mustermann/simple.rb

Overview

Sinatra 1.3 style pattern implementation.

Examples:

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

See Also:

Direct Known Subclasses

Router::Rack

Instance Attribute Summary

Attributes inherited from RegexpBased

#regexp

Method Summary

Methods inherited from RegexpBased

#initialize

Methods inherited from Pattern

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

Methods included from Mustermann

[], new

Constructor Details

This class inherits a constructor from Mustermann::RegexpBased