diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2022-03-21 14:58:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-21 14:58:00 -0500 |
| commit | c129b6119dfb8d53521b986465c3a85e08d874fe (patch) | |
| tree | cc22f0be21e0418239c5036be3c2e299241c77bd /spec/ruby/shared/basicobject/send.rb | |
| parent | 1fd1f7bbfc5603cdcfa98363a9ec9e106705a0a3 (diff) | |
[DOC] Use RDoc inclusions in string.c (#5683)
As @peterzhu2118 and @duerst have pointed out, putting string method's RDoc into doc/ (which allows non-ASCII in examples) makes the "click to toggle source" feature not work for that method.
This PR moves the primary method doc back into string.c, then includes RDoc from doc/string/*.rdoc, and also removes doc/string.rdoc.
The affected methods are:
::new
#bytes
#each_byte
#each_line
#split
The call-seq is in string.c because it works there; it did not work when the call-seq is in doc/string/*.rdoc.
This PR also updates the relevant guidance in doc/documentation_guide.rdoc.
Notes
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
Diffstat (limited to 'spec/ruby/shared/basicobject/send.rb')
0 files changed, 0 insertions, 0 deletions
