Ivanov-Anton
b89b7d8fdc
[DOC] Fix a magic comment in the section for `experimental_copy`
2023-07-18 19:23:27 +09:00
Peter Leitzen
09bdb43567
Clarify docs about magic comments placement
...
Magic comments like `frozen_string_literal` may appear everywhere
within the first comment section while `encoding` have to be the first
line, or second line after shebang.
2021-10-30 09:59:59 +09:00
Kenichi Kamiya
c7e6914b39
[Doc] Fix multiple `Magic Comments` example
...
[ci skip]
2021-03-13 15:44:34 +09:00
Marc-Andre Lafortune
8aa299de24
Tweak magic comments [doc]
2020-12-24 01:36:08 -05:00
Koichi Sasada
e43b5aa52d
remove redundant example.
...
pointed by @marcandre.
2020-12-24 14:31:01 +09:00
Koichi Sasada
6f29716f9f
shareable_constant_value: experimental_copy
...
"experimental_everything" makes the assigned value, it means
the assignment change the state of assigned value.
"experimental_copy" tries to make a deep copy and make copyied object
sharable.
2020-12-24 14:28:47 +09:00
Marcus Stollsteimer
458d5175b9
Small improvements in magic comments docs
...
* remove a duplicate statement
* fix rdoc markup
* fix typos
2020-12-23 19:47:26 +01:00
Marc-Andre Lafortune
8feb40f49a
Document shareable_constant_value and other magic constants [doc]
2020-12-23 11:50:33 -05:00
zverok
bddb31bb37
Documentation improvements for Ruby core
...
* Top-level `return`;
* Documentation for comments syntax;
* `rescue` inside blocks;
* Enhance `Object#to_enum` docs;
* Make `chomp:` option more obvious for `String#each_line` and
`#lines`;
* Enhance `Proc#>>` and `#<<` docs;
* Enhance `Processs` class docs.
2019-10-26 14:58:08 +09:00