class Addressable::Template

def extract(uri, processor=nil)

Returns:
  • (Hash, NilClass) -

Parameters:
  • processor (#restore, #match) --
  • uri (Addressable::URI, #to_str) --
def extract(uri, processor=nil)
  match_data = self.match(uri, processor)
  return (match_data ? match_data.mapping : nil)
end