Skip to content

Commit

Permalink
Fix typo in type signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 28, 2024
1 parent 2d1b628 commit d73e777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/protocol/http/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def self.escape_path(path)

# Encodes a hash or array into a query string. This method is used to encode query parameters in a URL. For example, `{"a" => 1, "b" => 2}` is encoded as `a=1&b=2`.
#
# @parameter value [Hash, Array] The value to encode.
# @parameter value [Hash | Array | Nil] The value to encode.
# @parameter prefix [String] The prefix to use for keys.
def self.encode(value, prefix = nil)
case value
Expand Down

0 comments on commit d73e777

Please sign in to comment.