stdlib/cgi/0/core.rbs in rbs-3.2.2 vs stdlib/cgi/0/core.rbs in rbs-3.3.0.pre.1
- old
+ new
@@ -513,11 +513,11 @@
# "my_header2" => "my_value")
#
# This method does not perform charset conversion.
#
def http_header: (?String options) -> String
- | (?Hash[String | Symbol, untyped] header_hash) -> String
+ | (?Hash[interned, untyped] header_hash) -> String
def nph?: () -> untyped
# <!--
# rdoc-file=lib/cgi/core.rb
@@ -584,10 +584,10 @@
# # my_header2: my_value
# #
# # string
#
def out: (?String content_type_string) { () -> String } -> void
- | (Hash[String | Symbol, untyped] headers_hash) { () -> String } -> void
+ | (Hash[interned, untyped] headers_hash) { () -> String } -> void
# <!--
# rdoc-file=lib/cgi/core.rb
# - print(*options)
# -->