Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-26 | methods.rdoc: Improve method definition documentation | Marcus Stollsteimer | |
* typos, grammar, formatting * use `concrete_method` again in `regular_method` example, to better distinguish from `forwarding_method` example * clarify that leading arguments before `...` require Ruby 3.0 | |||
2020-12-26 | methods.rdoc: Clarify "currently" means "in 2.7" here | Marcus Stollsteimer | |
2020-12-25 | Update method definition documentation | zverok | |
* Add endless methods * Add argument forwarding ... Notes: Merged: https://github.com/ruby/ruby/pull/3997 | |||
2020-12-25 | Adjusted the heading level of "Block Arguments" [ci skip] | Nobuyoshi Nakada | |
2020-12-24 | doc/syntax/pattern_matching.rdoc: fix typos, grammar, style | Marcus Stollsteimer | |
2020-12-24 | Tweak magic comments [doc] | Marc-Andre Lafortune | |
2020-12-24 | remove redundant example. | Koichi Sasada | |
pointed by @marcandre. | |||
2020-12-24 | shareable_constant_value: experimental_copy | Koichi Sasada | |
"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. Notes: Merged: https://github.com/ruby/ruby/pull/3989 | |||
2020-12-23 | Small improvements in magic comments docs | Marcus Stollsteimer | |
* remove a duplicate statement * fix rdoc markup * fix typos | |||
2020-12-23 | Document shareable_constant_value and other magic constants [doc] | Marc-Andre Lafortune | |
2020-12-23 | Fix a message in example code | Kazuki Tsujimoto | |
Thanks to @zverok for the report. | |||
2020-12-22 | Update documentation for pattern matching | Kazuki Tsujimoto | |
2020-12-20 | Fix markups and indentation | Kazuki Tsujimoto | |
2020-12-20 | Fix typos | Kazuki Tsujimoto | |
2020-12-20 | Update documentation for pattern matching | Kazuki Tsujimoto | |
2020-12-13 | Reintroduce `expr in pat` [Feature #17371] | Kazuki Tsujimoto | |
2020-11-30 | -> creates a lambda so this updates the documentation to reflect that | James Koenig | |
Notes: Merged: https://github.com/ruby/ruby/pull/3828 | |||
2020-11-01 | Pattern matching is no longer experimental | Kazuki Tsujimoto | |
2020-10-12 | Respectively, instead of respentively | Victor Goff | |
Notes: Merged: https://github.com/ruby/ruby/pull/3651 | |||
2020-09-29 | doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip] | Nobuyoshi Nakada | |
2020-09-29 | doc/syntax/literals.rdoc: explain `#@foo` and `#$foo` | Yusuke Endoh | |
2020-07-10 | Clarify behavior of super in method in module included in refinement [ci skip] | Jeremy Evans | |
Fixes [Bug #16977] | |||
2020-05-15 | [ci skip] Rdoc enhancements for Array (#3063) | Burdette Lamar | |
* Per @nobu review * Rdoc enhancements for Array * Responses to review Notes: Merged-By: drbrain <drbrain@segment7.net> | |||
2020-04-17 | Removed NIL/TRUE/FALSE from documents too | Kazuhiro NISHIYAMA | |
This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589 | |||
2020-04-05 | Fix typos | Kazuki Tsujimoto | |
2020-04-04 | Enhance pattern matching introduction | zverok | |
Notes: Merged: https://github.com/ruby/ruby/pull/2952 | |||
2020-03-06 | Document defined? and global_variables handling of regexp global variables ↵ | Jeremy Evans | |
[ci skip] Fixes [Bug #11304] | |||
2020-02-24 | Add pattern matching documentation | zverok | |
Add separate doc/syntax/pattern_matching.rdoc, add link to control_expressions.rdoc. The documentation is "reverse-engineered" from Ruby 2.7 behavior and early preview presentations, and corrected by pattern-matching feature author @k-tsj. Notes: Merged: https://github.com/ruby/ruby/pull/2786 | |||
2020-01-17 | Update documentation for Array/Hash Argument section of methods.rdoc | Adam Isom | |
Notes: Merged: https://github.com/ruby/ruby/pull/2844 | |||
2019-12-31 | Redmine /projects/ruby-trunk is now redirected | Takashi Kokubun | |
to /projects/ruby-master | |||
2019-12-24 | [DOC] Fix typo | Marcus Stollsteimer | |
2019-12-23 | Fix typos of previous docs PR | zverok | |
In #2612 I made two typos (extra ,, and copy-pasted same line of code instead of showing two different ones), fixing them. Notes: Merged: https://github.com/ruby/ruby/pull/2771 | |||
2019-12-22 | Update private visibility explanation | zverok | |
Notes: Merged: https://github.com/ruby/ruby/pull/2768 | |||
2019-12-20 | Fixed misspellings | Nobuyoshi Nakada | |
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec. | |||
2019-10-26 | Documentation improvements for Ruby core | zverok | |
* 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. Notes: Merged: https://github.com/ruby/ruby/pull/2612 | |||
2019-10-10 | Document the difference between expressions and statements [ci skip] | Jeremy Evans | |
In the grammar, all expressions are statements, but not all statements are expressions. Some parts of the grammar accept expressions and not other types of statements, which causes similar looking code to parse differently due to operator precedence. Mostly from Dan0042 (Daniel DeLorme). Fixes [Bug #16092] | |||
2019-10-03 | Add documentation regarding keyword argument separation [ci skip] | Jeremy Evans | |
2019-10-03 | Minor updates to methods and calling_methods documentation [ci skip] | Jeremy Evans | |
2019-09-20 | [DOC] DOT is not a part of a receiver [ci skip] | Nobuyoshi Nakada | |
[Feature #11297] [Feature #16123] | |||
2019-09-20 | Update NEWS and documents [ci skip] | Nobuyoshi Nakada | |
[Feature #11297] [Feature #16123] | |||
2019-08-04 | Use the word heredocs in Here Documents docs | Olivier Lacan | |
Two advantages: - higher relevance of the extremely common word "heredocs" which may help people find this page when searching for "ruby heredocs" - the anchor link becomes `#label-Here+Documents+-28heredocs-29`, which is ugly due to the parentheses but includes the word "heredocs" in the URL to this section If anyone knows a way to prevent RDoc from turning invalid characters into ugly and meaningless ASCII codes, I'm listening. I don't want to break existing anchor links but RDoc should really ignore these characters or turn them into dashes. Closes: https://github.com/ruby/ruby/pull/2103 | |||
2019-07-19 | Document use of ensure and else at method level [ci skip] | Jeremy Evans | |
2019-07-19 | Remove section on performance advantage of not using a block parameter [ci skip] | Jeremy Evans | |
Improvements in Ruby 2.5 and 2.6 make this section no longer accurate. | |||
2019-07-19 | Remove mention of Proc.new with implicit block [ci skip] | Jeremy Evans | |
This support is now deprecated and will be removed in Ruby 3. | |||
2019-07-19 | Document evaluation order of arguments [ci skip] | Jeremy Evans | |
Fixes [Misc #8905] | |||
2019-07-19 | Document required keyword argument syntax [ci skip] | Jeremy Evans | |
Fixes [Bug #8952] | |||
2019-06-25 | Improve wording of Local Variables and eval section | Jeremy Evans | |
As pointed out by nobu, "defined" should be used instead of "assigned". | |||
2019-06-26 | * remove trailing spaces. | git | |
2019-06-25 | Document local variable interactions with eval | Jeremy Evans | |
Fixes [Bug #13337] | |||
2019-05-03 | Fix typo | Marcus Stollsteimer | |