From 981740b1f2307f193a216ca57f175d9ee4ab34ab Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 22 Jun 2022 10:31:31 +0900 Subject: [PATCH] mrblib/compar.rb: add call-seq to each method description. [ci skip] --- mrblib/compar.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mrblib/compar.rb b/mrblib/compar.rb index 84b962598..b39d619f4 100644 --- a/mrblib/compar.rb +++ b/mrblib/compar.rb @@ -5,6 +5,9 @@ module Comparable ## + # call-seq: + # obj < other -> true or false + # # Return true if +self+ is less # than +other+. Otherwise return # false. @@ -19,6 +22,9 @@ module Comparable end ## + # call-seq: + # obj <= other -> true or false + # # Return true if +self+ is less # than or equal to +other+. # Otherwise return false. @@ -33,6 +39,9 @@ module Comparable end ## + # call-seq: + # obj == other -> true or false + # # Return true if +self+ is equal # to +other+. Otherwise return # false. @@ -44,6 +53,9 @@ module Comparable end ## + # call-seq: + # obj > other -> true or false + # # Return true if +self+ is greater # than +other+. Otherwise return # false. @@ -58,6 +70,9 @@ module Comparable end ## + # call-seq: + # obj >= other -> true or false + # # Return true if +self+ is greater # than or equal to +other+. # Otherwise return false. @@ -72,6 +87,9 @@ module Comparable end ## + # call-seq: + # obj.between?(min,max) -> true or false + # # Return true if +self+ is greater # than or equal to +min+ and # less than or equal to +max+.