diff --git a/lib/time.rb b/lib/time.rb index 1c66088..eaf9836 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -668,7 +668,7 @@ def rfc3339(time) private if RUBY_VERSION >= "3.2" - def _xmlschema(pattern, time) + def _xmlschema(pattern, time) # :nodoc: if pattern.match?(time) new(time) else @@ -676,7 +676,7 @@ def _xmlschema(pattern, time) end end else - def _xmlschema(pattern, time) + def _xmlschema(pattern, time) # :nodoc: if pattern =~ time year = $1.to_i mon = $2.to_i