Skip to content

Commit 20f2aca

Browse files
Improve documentation consistency.
1 parent 283bce9 commit 20f2aca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/protocol/http/header/multiple.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def self.coerce(value)
3535
end
3636
end
3737

38-
# Initializes the multiple header with already-parsed values.
38+
# Initializes the multiple header with the given values.
3939
#
4040
# @parameter value [Array | Nil] an array of header values, or `nil` for an empty header.
4141
def initialize(value = nil)

lib/protocol/http/header/split.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def self.coerce(value)
3838
end
3939
end
4040

41-
# Initializes a `Split` header with already-parsed values.
41+
# Initializes a `Split` header with the given values.
4242
#
43-
# @parameter value [Array | Nil] an array of parsed header values, or `nil` for an empty header.
43+
# @parameter value [Array | String | Nil] an array of values, a raw header value, or `nil` for an empty header.
4444
def initialize(value = nil)
4545
if value.is_a?(Array)
4646
super(value)

0 commit comments

Comments
 (0)