[ruby-cvs:79095] f74021e12b (master): Improve docs for String#=~
"Marcus Stollsteimer" <[email protected]> Thu, 9 Jan 2020 04:51:04 +0900 (JST)
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Marcus Stollsteimer 2020-01-09 04:47:10 +0900 (Thu, 09 Jan 2020)
New Revision: f74021e12b
https://github.com/ruby/ruby/commit/f74021e12b
Log:
Improve docs for String#=3D~
=
Move existing example to the corresponding paragraph and
add an example for `string =3D~ regexp` vs. `regexp =3D~ string`;
avoid using the receiver's identifier from the call-seq
because it does not appear in rendered HTML docs;
mention deprecation of Object#=3D~; fix some markup and typos.
Modified files:
string.c=