File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4610,7 +4610,7 @@ rb_str_eql(VALUE str1, VALUE str2)
46104610
46114611/*
46124612 * call-seq:
4613- * string <=> other_string -> -1, 0, 1, or nil
4613+ * self <=> other_string -> -1, 0, 1, or nil
46144614 *
46154615 * Compares +self+ and +other_string+, returning:
46164616 *
@@ -4621,13 +4621,14 @@ rb_str_eql(VALUE str1, VALUE str2)
46214621 *
46224622 * Examples:
46234623 *
4624- * 'foo' <=> 'foo' # => 0
4624+ * 'foo' <=> 'foo' # => 0
46254625 * 'foo' <=> 'food' # => -1
46264626 * 'food' <=> 'foo' # => 1
4627- * 'FOO' <=> 'foo' # => -1
4628- * 'foo' <=> 'FOO' # => 1
4629- * 'foo' <=> 1 # => nil
4627+ * 'FOO' <=> 'foo' # => -1
4628+ * 'foo' <=> 'FOO' # => 1
4629+ * 'foo' <=> 1 # => nil
46304630 *
4631+ * Related: see {Comparing}[rdoc-ref:String@Comparing].
46314632 */
46324633
46334634static VALUE
You can’t perform that action at this time.
0 commit comments