From 5d5ca1071892b2b20b3fba1fa618cb9e7872b99f Mon Sep 17 00:00:00 2001 From: Charley Stran Date: Sat, 21 Dec 2019 14:55:32 -0600 Subject: [PATCH] fixing missing encode component documentation entry --- lib/addressable/uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressable/uri.rb b/lib/addressable/uri.rb index 71a806bf..35eb945b 100644 --- a/lib/addressable/uri.rb +++ b/lib/addressable/uri.rb @@ -421,7 +421,7 @@ def self.encode_component(component, character_class= end class << self - alias_method :encode_component, :encode_component + alias_method :escape_component, :encode_component end ##