| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* Add missing space for `String#start_with?`.
* Add missing pluses for `String#tr` and
`Methods for Converting to New String` label.
* Move quote into the tag for `Whitespace in Strings` label.
|
| |
|
|
|
| |
Creates file doc/string/slices.rdoc that the string slicing methods can link to.
|
| |
|
|
|
|
|
|
|
| |
Treats:
#length
#bytesize
|
|
|
|
|
|
| |
Adds to doc for String.new, also making it compliant with documentation_guide.rdoc.
Fixes some broken links in io.c (that I failed to correct yesterday).
|
|
|
|
|
| |
Also prefers class name based references than file name based
references.
|
|
|
| |
Main doc for encodings moved from encoding.c to doc/encodings.rdoc
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#force_encoding
#b
#valid_encoding?
#ascii_only?
#scrub
#scrub!
#unicode_normalized?
Plus a couple of minor tweaks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#start_with?
#end_with?
#delete_prefix
#delete_prefix!
#delete_suffix
#delete_suffix!
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#ljust
#rjust
#center
#partition
#rpartition
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#scan
#hex
#oct
#crypt
#ord
#sum
|
|
|
|
|
|
|
|
|
|
| |
Treated:
#chomp
#chomp!
#chop
#chop!
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Treats:
#chars
#codepoints
#each_char
#each_codepoint
#each_grapheme_cluster
#grapheme_clusters
Also, corrects a passage in #unicode_normalize that mentioned module UnicodeNormalize, whose doc (:nodoc:, actually) says not to mention it.
|
|
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.
|