| Age | Commit message (Collapse) | Author |
|
* Describe base code layout rules
* Enhance optional keyword explanation
* Change the logical operators description
|
|
* Document Range#to_set
* Update Thread#raise and Fiber#raise signatures and docs
* Add reference to String#strip to character_selectors.rdoc
* Update *nil docs when calling methods
* Enhance Array#find and #rfind docs
* Add a notice to Kernel#raise about cause:
|
|
|
|
Re-organize page docs
|
|
It was not documented as an operator that can be overriden, which is confusing because it makes you think it can't be.
|
|
|
|
Since https://github.com/ruby/ruby/pull/15212 these are proper syntax
errors, so no need to handle this explicitly anymore.
Also updated the example in the docs for this
|
|
|
|
removes documentation for the activation order of `include` and `prepend` inside a refinement
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/13171
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12955
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12912
|
|
`%q{c}` after another string literal is parsed as RHS of modulo, `q`
method call with a block.
|
|
If someone looks at documention for strings,
I don't think escape sequences is what they look
for in majority of the cases.
Notes:
Merged: https://github.com/ruby/ruby/pull/12318
|
|
Since https://github.com/ruby/ruby/commit/5e1001f754b34e1f0cc67563512c6036b6eb75ab, the string link is broken
Instead of changing the anchor reference, I changed the header directly,
to keep in line with other titles
Notes:
Merged: https://github.com/ruby/ruby/pull/12318
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12496
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12426
|
|
The inspect format was intentionally changed as an outcome of
[Bug #20433] [ruby-core:118668], but some documentation update
was missing, as [Bug #20962] pointed out. Update some output
examples that clearly use Hash#inspect.
Notes:
Merged: https://github.com/ruby/ruby/pull/12384
Merged-By: XrXr
|
|
[DOC] Rewrite argument unpacking docs and document **nil
Notes:
Merged-By: zverok <zverok.offline@gmail.com>
|
|
|
|
from documentation
Ruby 3.2.0 has been released and all experimental warnings about pattern matching have been removed.
Experimental warnings about pattern matching are no longer output, so I remove description about it from documentation as well.
cf. https://bugs.ruby-lang.org/issues/18585
cf. db6b23c76cbc7888cd9a9912790c2068703afdd0
cf. https://twitter.com/k_tsj/status/1606956336037900289?s=20&t=-_PSYLhYPtYsB9FZhtXl5A
Notes:
Merged: https://github.com/ruby/ruby/pull/7052
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11528
|
|
Notes:
Merged-By: peterzhu2118 <peter@peterzhu.ca>
|
|
Document details of escape sequences including line continuation.
[Bug #20518]
|
|
|
|
|
|
Guard clauses can only be used in `case` pattern matching statements,
not in `=>`/`in` operators.
|
|
Signed-off-by: crazeteam <lilujing@outlook.com>
|
|
There is a weird gotcha I already forgot twice.... and regret not to have found in doc.
See https://dev.to/okuramasafumi/be-sure-ensure-doesn-t-return-value-implicitly-8gp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docs: expand on operator documentaion
Include more specific details around logical operators.
doc: update link with proper syntax
doc: remove ambiguous language from operators doc
doc: remove link to source code file
doc: cleaning up some language, and removing some mistakes in understanding
doc: revert example to prior state
doc: fix spacing
doc: Update doc/syntax/operators.rdoc
align example with typical format
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
doc: Update doc/syntax/operators.rdoc
align format of other examples with rest of documentation
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Update doc/syntax/operators.rdoc
align format of other examples with rest of documentation
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
doc: include `and` & `or` operators
doc(operators): remove accute language
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/8087
Merged-By: nobu <nobu@ruby-lang.org>
|
|
Since [Misc #19679] migrated the wiki, these links should be updated
to their new locations.
Notes:
Merged-By: jemmaissroff
|
|
Notes:
Merged-By: peterzhu2118 <peter@peterzhu.ca>
|
|
This are implemented as Kernel methods and not keywords, but I
still think they are worth documenting with the other control
flow expressions.
Notes:
Merged: https://github.com/ruby/ruby/pull/7856
Merged-By: jeremyevans <code@jeremyevans.net>
|
|
Co-Authored-By: sawa (Tsuyoshi Sawada) <sawadatsuyoshi@gmail.com>
Notes:
Merged: https://github.com/ruby/ruby/pull/7526
|
|
* Remove section about experimental status
* Add references to core objects that can deconstruct
Notes:
Merged: https://github.com/ruby/ruby/pull/7316
|
|
Notes:
Merged-By: hsbt <hsbt@ruby-lang.org>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7173
Merged-By: nobu <nobu@ruby-lang.org>
|
|
Fixes [Bug #18887]
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5902
|
|
|
|
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|