summaryrefslogtreecommitdiff
path: root/timev.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-24 17:28:52 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-24 19:38:55 +0900
commit045e74d8e484bca963eba6210d85222fa9362615 (patch)
treeae96f957fed3bf77e2257182e67a141a2486ab99 /timev.rb
parent9d7ac1ba1ca279df14400814516fab14240cdc35 (diff)
[DOC] Simplify signature of `Time.new`
Diffstat (limited to 'timev.rb')
-rw-r--r--timev.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/timev.rb b/timev.rb
index 80de049a07..28e0a444b1 100644
--- a/timev.rb
+++ b/timev.rb
@@ -287,6 +287,9 @@ class Time
end
end
+ # call-seq:
+ # Time.new(year = nil, mon = nil, mday = nil, hour = nil, min = nil, sec = nil, zone = nil, in: nil, precision: 9)
+ #
# Returns a new \Time object based on the given arguments,
# by default in the local timezone.
#