Method: Addressable::Template::MatchData#initialize

Defined in:
lib/vendor/addressable/lib/addressable/template.rb

#initialize(uri, template, mapping) ⇒ MatchData

Creates a new MatchData object. MatchData objects should never be instantiated directly.

Parameters:



66
67
68
69
70
# File 'lib/vendor/addressable/lib/addressable/template.rb', line 66

def initialize(uri, template, mapping) # :nodoc:
  @uri = uri.dup.freeze
  @template = template
  @mapping = mapping.dup.freeze
end