summaryrefslogtreecommitdiff
path: root/timev.rb
diff options
context:
space:
mode:
authorzverok <zverok.offline@gmail.com>2022-10-19 22:07:23 +0300
committerVictor Shepelev <zverok.offline@gmail.com>2022-11-22 23:10:46 +0200
commiteaf2b6c4396ff19921cbc75a394d7a752aaab4ef (patch)
treeff275ee65e937f17232c64a8c66d5ed258cb15de /timev.rb
parent63f4a7a1ec3433cc985503e3ca342e4a9ebda257 (diff)
downloadruby-eaf2b6c4396ff19921cbc75a394d7a752aaab4ef.tar.gz
Add Time#deconstruct_keys
Diffstat (limited to 'timev.rb')
-rw-r--r--timev.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/timev.rb b/timev.rb
index 6bfb4e5e1b..b549221315 100644
--- a/timev.rb
+++ b/timev.rb
@@ -201,6 +201,7 @@
# - #getlocal: Returns a new time converted to local time.
# - #utc (aliased as #gmtime): Converts time to UTC in place.
# - #localtime: Converts time to local time in place.
+# - #deconstruct_keys: Returns a hash of time components used in pattern-matching.
#
# === Methods for Rounding
#