[前][次][番号順一覧][スレッド一覧]

ruby-changes:71838

From: Kazuhiro <ko1@a...>
Date: Mon, 16 May 2022 23:43:14 +0900 (JST)
Subject: [ruby-changes:71838] f2dc972940 (master): [ruby/set] Fix a typo

https://git.ruby-lang.org/ruby.git/commit/?id=f2dc972940

From f2dc97294086c31604a45ee350c4fa5d51762f45 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <znz@u...>
Date: Mon, 16 May 2022 23:40:24 +0900
Subject: [ruby/set] Fix a typo

https://github.com/ruby/set/commit/71a876ae81
---
 lib/set.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/set.rb b/lib/set.rb
index 54bcc7b7e2..0490654183 100644
--- a/lib/set.rb
+++ b/lib/set.rb
@@ -134,7 +134,7 @@ https://github.com/ruby/ruby/blob/trunk/lib/set.rb#L134
 #   Returns whether a given object is a subset of the set.
 # - \#proper_subset? (aliased as [<](#method-i-3C)):
 #   Returns whether a given enumerable is a proper subset of the set.
-# - \#superset? (aliased as [<=](#method-i-3E-3D])):
+# - \#superset? (aliased as [>=](#method-i-3E-3D])):
 #   Returns whether a given enumerable is a superset of the set.
 # - \#proper_superset? (aliased as [>](#method-i-3E)):
 #   Returns whether a given enumerable is a proper superset of the set.
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]