Skip to content

Commit bb03f71

Browse files
authored
Merge pull request #371 from charleystran/add_missing_encode_component_doc_entry
fixing missing encode component documentation entry
2 parents 6d1d809 + 48a02e2 commit bb03f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/addressable/uri.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def self.encode_component(component, character_class=
430430
end
431431

432432
class << self
433-
alias_method :encode_component, :encode_component
433+
alias_method :escape_component, :encode_component
434434
end
435435

436436
##

0 commit comments

Comments
 (0)