Age | Commit message (Collapse) | Author |
|
|
|
This behavior has been slightly extended with the addition of
`String#scrub`.
|
|
This is a reenstatement of the explanation in commit
463633e4a934a00f869086a6ffbf84c6cb8ad630 to partially
address Bug #19342.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7126
|
|
* 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.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Creates file doc/string/slices.rdoc that the string slicing methods can link to.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treats:
#length
#bytesize
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
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).
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Also prefers class name based references than file name based
references.
|
|
Main doc for encodings moved from encoding.c to doc/encodings.rdoc
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treats:
#force_encoding
#b
#valid_encoding?
#ascii_only?
#scrub
#scrub!
#unicode_normalized?
Plus a couple of minor tweaks.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treats:
#start_with?
#end_with?
#delete_prefix
#delete_prefix!
#delete_suffix
#delete_suffix!
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treats:
#ljust
#rjust
#center
#partition
#rpartition
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treats:
#scan
#hex
#oct
#crypt
#ord
#sum
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
Treated:
#chomp
#chomp!
#chop
#chop!
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
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.
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
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:
Merged-By: BurdetteLamar <[email protected]>
|