From a12213ed96066f20b51cb5a480a789fdaf48cce9 Mon Sep 17 00:00:00 2001 From: Kouhei Yanagita Date: Mon, 11 Nov 2024 20:38:00 +0900 Subject: [PATCH] =?UTF-8?q?Range#overlap=3F=E3=81=AB@see=20Range#cover=3F?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- refm/api/src/_builtin/Range | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refm/api/src/_builtin/Range b/refm/api/src/_builtin/Range index 060e02e3ed..73c9cd7ee6 100644 --- a/refm/api/src/_builtin/Range +++ b/refm/api/src/_builtin/Range @@ -334,6 +334,8 @@ self と range に重なりがある場合は true を、そうでない場合 @raise TypeError 引数に Range でないオブジェクトを指定した場合に発生します。 +@see [[m:Range#cover?]] + #@samplecode 例 (0..2).overlap?(1..3) #=> true (0..2).overlap?(3..4) #=> false