- doc/language/options.md: preceeding -> preceding
- doc/maintainers.md: maintanance -> maintenance
- doc/syntax/layout.rdoc: enconding -> encoding (File.read keyword
in the line-continuation example)
- doc/distribution/windows.md: followings are -> the following are
Method lookup for refinement super starts with the next active
refinement at the super call site, excluding the current refinment,
if such a refinement exists. This has been the behavior since Ruby
2.7, and it is now confirmed to be the desired behavior.
This removes the discussion of included modules in refinements,
since support for that was removed in Ruby 3.2.
This switches the method lookup description to be ancestor-based
instead of class-based, so it better reflects how the process
actually works.
Also discuss how super inside a refined module method is not allowed
if the method was called via super from a refinement method.
* 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:
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
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.
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