From b7bb14b96e7e1923d91787fa5a9ca2e4053431b1 Mon Sep 17 00:00:00 2001 From: Kazuki Tsujimoto Date: Thu, 22 Dec 2022 13:05:09 +0900 Subject: Update documentation about Time#deconstruct_keys --- time.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'time.c') diff --git a/time.c b/time.c index d0d0ccf1c4..ee2d889a6a 100644 --- a/time.c +++ b/time.c @@ -5012,7 +5012,9 @@ time_to_a(VALUE time) * deconstruct_keys(array_of_names_or_nil) -> hash * * Returns a hash of the name/value pairs, to use in pattern matching. - * Possible keys are the same as returned by #to_h. + * Possible keys are: :year, :month, :day, + * :yday, :wday, :hour, :min, :sec, + * :subsec, :dst, :zone. * * Possible usages: * -- cgit v1.2.3