From 44a6a13cbe8ead29a5d62f1f3d49343aab946f5e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 13 Nov 2023 15:59:03 +0900 Subject: [PATCH] [DOC] Fix Timezone Objects description From the beginning when Timezone object support was introduced, Timezone objects are allowed everywhere offset strings are allowed. --- doc/timezones.rdoc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/timezones.rdoc b/doc/timezones.rdoc index c3aae88fdec809..3e2122b43e9d37 100644 --- a/doc/timezones.rdoc +++ b/doc/timezones.rdoc @@ -57,13 +57,7 @@ in the range -86399..86399: ==== Timezone Objects -In most cases, the zone value may be an object -responding to certain timezone methods. - -\Exceptions (timezone object not allowed): - -- Time.new with positional argument +zone+. -- Time.now with keyword argument +in:+. +The zone value may be an object responding to certain timezone methods. The timezone methods are: