From b04690920180b777bf2552cd688172125a9c76be Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Fri, 27 Dec 2024 13:50:44 +0900 Subject: [PATCH] `Time#xmlschema` accepts `Integer` argument --- core/time.rbs | 2 +- test/stdlib/Time_test.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/time.rbs b/core/time.rbs index 0f8c3989e..0d43e45cc 100644 --- a/core/time.rbs +++ b/core/time.rbs @@ -1629,7 +1629,7 @@ class Time < Object # # You must require 'time' to use this method. # - def xmlschema: () -> String + def xmlschema: (?Integer fraction_digits) -> String #