Class: Mustermann::Template

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

Overview

URI template 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

Methods included from Mustermann

[], new

Constructor Details

This class inherits a constructor from Mustermann::RegexpBased