[ruby/time] Document exception thrown by `Time.strptime`

https://github.com/ruby/time/commit/f9d078082f
This commit is contained in:
Artur 2024-03-06 19:44:51 +03:00 коммит произвёл git
Родитель 7951b349ab
Коммит e133d0c7a1
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -391,6 +391,8 @@ class Time
# heuristic to detect the format of the input string, you provide
# a second argument that describes the format of the string.
#
# Raises `ArgumentError` if the date or format is invalid.
#
# If a block is given, the year described in +date+ is converted by the
# block. For example:
#