Method: Addressable::Template::MatchData#mapping

Defined in:
lib/addressable/template.rb

#mappingHash (readonly)

Returns The mapping that resulted from the match. Note that this mapping does not include keys or values for variables that appear in the Template, but are not present in the URI.

Returns:

  • (Hash)

    The mapping that resulted from the match. Note that this mapping does not include keys or values for variables that appear in the Template, but are not present in the URI.



125
126
127
# File 'lib/addressable/template.rb', line 125

def mapping
  @mapping
end