File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -861,9 +861,9 @@ rb_complex_plus(VALUE self, VALUE other)
861861
862862/*
863863 * call-seq:
864- * complex - numeric -> new_complex
864+ * self - other -> complex
865865 *
866- * Returns the difference of +self+ and +numeric +:
866+ * Returns the difference of +self+ and +other +:
867867 *
868868 * Complex.rect(2, 3) - Complex.rect(2, 3) # => (0+0i)
869869 * Complex.rect(900) - Complex.rect(1) # => (899+0i)
Original file line number Diff line number Diff line change @@ -1089,7 +1089,7 @@ rb_float_plus(VALUE x, VALUE y)
10891089 * call-seq:
10901090 * self - other -> numeric
10911091 *
1092- * Returns a new \Float which is the difference of +self+ and +other+:
1092+ * Returns the difference of +self+ and +other+:
10931093 *
10941094 * f = 3.14
10951095 * f - 1 # => 2.14
@@ -4197,9 +4197,9 @@ fix_minus(VALUE x, VALUE y)
41974197
41984198/*
41994199 * call-seq:
4200- * self - numeric -> numeric_result
4200+ * self - other -> numeric
42014201 *
4202- * Performs subtraction :
4202+ * Returns the difference of +self+ and +other+ :
42034203 *
42044204 * 4 - 2 # => 2
42054205 * -4 - 2 # => -6
Original file line number Diff line number Diff line change @@ -768,9 +768,9 @@ rb_rational_plus(VALUE self, VALUE other)
768768
769769/*
770770 * call-seq:
771- * rat - numeric -> numeric
771+ * self - other -> numeric
772772 *
773- * Performs subtraction.
773+ * Returns the difference of +self+ and +other+:
774774 *
775775 * Rational(2, 3) - Rational(2, 3) #=> (0/1)
776776 * Rational(900) - Rational(1) #=> (899/1)
You can’t perform that action at this time.
0 commit comments