We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f347cf9 + b046909 commit c4f3dd8Copy full SHA for c4f3dd8
core/time.rbs
@@ -1629,7 +1629,7 @@ class Time < Object
1629
#
1630
# You must require 'time' to use this method.
1631
1632
- def xmlschema: () -> String
+ def xmlschema: (?Integer fraction_digits) -> String
1633
1634
# <!--
1635
# rdoc-file=time.c
test/stdlib/Time_test.rb
@@ -355,10 +355,10 @@ def test_to_a
355
end
356
357
def test_xmlschema
358
- if_ruby("3.4.0"...) do
359
- assert_send_type "() -> String",
360
- Time.now, :xmlschema
361
- end
+ assert_send_type "() -> String",
+ Time.now, :xmlschema
+ assert_send_type "(Integer) -> String",
+ Time.now, :xmlschema, 3
362
363
364
def test_zone
0 commit comments