Граф коммитов

898 Коммитов

Автор SHA1 Сообщение Дата
Burdette Lamar 6e28ec06c1 [ruby/csv] RDoc recipes: add introductory texts to code recipes (#181)
https://github.com/ruby/csv/commit/c52d53761e
2020-11-24 09:33:55 +09:00
Burdette Lamar 4641a9a92b [ruby/csv] Emphasize with-headers over without-headers in recipes (#180)
https://github.com/ruby/csv/commit/c7bbedd28a
2020-11-24 09:33:55 +09:00
Burdette Lamar 76e5e5aaec [ruby/csv] More RDoc for field converters (#179)
https://github.com/ruby/csv/commit/2a4ef5d86a
2020-11-24 09:33:55 +09:00
Burdette Lamar 4be336b1b7 [ruby/csv] Recipes for field converters (#177)
https://github.com/ruby/csv/commit/aea896f030
2020-11-24 09:33:55 +09:00
Burdette Lamar 98d52d873e [ruby/csv] Organize page Recipes better (#176)
https://github.com/ruby/csv/commit/338b7f0d57
2020-11-24 09:33:55 +09:00
Burdette Lamar 8ea293b79c [ruby/csv] Experimenting with recipes in CSV RDoc (#175)
https://github.com/ruby/csv/commit/01ffd0d2de
2020-11-24 09:33:55 +09:00
Samuel Williams afe3cb782b `Fiber.new(blocking: false)` is now the default. 2020-11-08 20:40:52 +13:00
Samuel Williams a08ee8330d Rename to `Fiber#set_scheduler`. 2020-11-07 23:39:50 +13:00
Hiroshi SHIBATA b2ca183cc9
Promote un.rb to the default gems. It's preparation for 3.0.0-preview2. 2020-11-05 20:21:31 +09:00
Hiroshi SHIBATA f211f9cda4
use https 2020-11-04 13:30:27 +09:00
Kazuki Tsujimoto b601532411
Pattern matching is no longer experimental 2020-11-01 13:33:58 +09:00
Nobuyoshi Nakada ea8fc7fdd3
[DOC] standard_library.rdoc: tweaked to make style consistent
[ci skip]
2020-10-31 11:06:01 +09:00
Hiroshi SHIBATA 66bf743b93
Promote debug.rb to default gems.
It have no upstream repo yet. This change is experimental for 3.0.0-preview2.
2020-10-30 21:45:23 +09:00
Hiroshi SHIBATA a1828a1ff4
Promote win32ole to default gems.
But win32ole gem is still experimental for 3.0.0-preview2.
  I'm working to extract this library on https://github.com/ruby/win32ole.
2020-10-30 15:18:50 +09:00
Hiroshi SHIBATA f6680c9ad1
Added rbs and typeprof to doc/* 2020-10-20 21:33:02 +09:00
Hiroshi SHIBATA 3f97940252
Followed up with 708413807a
* Added sync task for digest
  * Update doc/* for default gems
  * Update the latest version of gemspec
2020-10-19 18:56:19 +09:00
Hiroshi SHIBATA 9aab916990
Promote pathname to default gems 2020-10-14 14:42:53 +09:00
Hiroshi SHIBATA 1e316edf60
Promote drb to the default gems 2020-10-14 14:42:53 +09:00
Victor Goff 1336698294 Respectively, instead of respentively 2020-10-12 13:08:13 +09:00
Benoit Daloze bfc1c7205d Add Ractor#receive and Ractor.receive and use it in all places
* Keep Ractor#recv/Ractor.recv as an alias for now.
2020-10-10 12:48:09 +02:00
Hiroshi SHIBATA 0f9edf2f48
Promote prettyprint to default gems 2020-10-08 16:40:46 +09:00
Hiroshi SHIBATA 2711e3bab9
Promote pp to default gems 2020-10-08 16:40:46 +09:00
Svyatoslav Kryukov 3a3000f577 Fix traditional Ring example in Actor-model 2020-10-05 10:35:11 -04:00
Gwitr 74aaa8e7ab Update marshal.rdoc 2020-10-02 02:04:24 -04:00
Nobuyoshi Nakada dcb705ace7
doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip] 2020-09-29 15:28:09 +09:00
Yusuke Endoh 2e947bc181 doc/syntax/literals.rdoc: explain `#@foo` and `#$foo` 2020-09-29 14:39:52 +09:00
Samuel Williams f7aa51b2b8 Update NEWS & documentation relating to scheduler. 2020-09-21 15:28:03 +12:00
Kazuhiro NISHIYAMA e4dbb91f4c
Fix typos [ci skip]
s/overriden/overridden/
2020-09-17 20:34:59 +09:00
Samuel Williams 132453fa52 Rename `Fiber{}` to `Fiber.schedule{}`. 2020-09-14 16:44:09 +12:00
Hiroshi SHIBATA 6042b7433d
Promote time.rb to default gems 2020-09-12 08:29:06 +09:00
Hiroshi SHIBATA 01e0d74965
Promote resolv-replace to default gems 2020-09-11 22:01:08 +09:00
Hiroshi SHIBATA e0675b1c76
Promote resolv to default gems 2020-09-11 21:50:07 +09:00
Hiroshi SHIBATA d1851ba5b9
Promote securerandom to default gems 2020-09-11 21:15:25 +09:00
Hiroshi SHIBATA 2f24818319
Promote open-uri to default gems 2020-09-11 20:38:18 +09:00
Hiroshi SHIBATA 867204c4a5
Promote syslog to default gems 2020-09-10 20:42:53 +09:00
Hiroshi SHIBATA cf76a4a5c2
Promote base64 to default gems 2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA cf681038d6
Promote shellwords to default gems 2020-09-10 18:56:17 +09:00
Hiroshi SHIBATA cee8e95761
Promote abbrev to default gems 2020-09-10 18:56:16 +09:00
Hiroshi SHIBATA 01828a955a
Promote tsort to default gems 2020-09-09 21:53:09 +09:00
Kazuhiro NISHIYAMA c19f8f6263
Add `*.md` to doc/.document [ci skip] 2020-09-06 19:05:30 +09:00
Ashwin Elangovan 40c06e6fe1
Fixed some typos in ractor.md (#3522) 2020-09-05 15:58:31 -04:00
andrewmelis 72757fb596 Fix typo in ractor.md 2020-09-05 17:21:43 +09:00
Tom Schady de30450d91 Fix typos in Ractor README. 2020-09-04 12:41:35 -04:00
Koichi Sasada 79df14c04b Introduce Ractor mechanism for parallel execution
This commit introduces Ractor mechanism to run Ruby program in
parallel. See doc/ractor.md for more details about Ractor.
See ticket [Feature #17100] to see the implementation details
and discussions.

[Feature #17100]

This commit does not complete the implementation. You can find
many bugs on using Ractor. Also the specification will be changed
so that this feature is experimental. You will see a warning when
you make the first Ractor with `Ractor.new`.

I hope this feature can help programmers from thread-safety issues.
2020-09-03 21:11:06 +09:00
Kazuhiro NISHIYAMA 705b908f7d
Fix a typo [ci skip] 2020-09-03 17:54:00 +09:00
Burdette Lamar 4a5dd970a7
Add alias treatment to method_documentation.rdoc (#3468)
* Add alias treatment to method_documentation.rdoc
2020-08-28 13:39:16 -05:00
Lars Kanis 92b2d5816a Add documentation to "dcompact" callback and "parent" member 2020-08-25 10:50:51 -07:00
Hiroshi SHIBATA 2e3a7f70ae
Promote nkf to default gems 2020-08-25 21:17:19 +09:00
Kazuhiro NISHIYAMA 30ccc7d04b
Fix typos 2020-08-23 22:46:04 +09:00
Hiroshi SHIBATA 8c97883b73
Promote erb to default gems 2020-08-21 20:18:44 +09:00
Hiroshi SHIBATA bc374e5cea
Promote rinda to default gems 2020-08-21 18:10:03 +09:00
Hiroshi SHIBATA dfda2f739b
Promote find to default gems 2020-08-20 21:00:53 +09:00
Hiroshi SHIBATA 8a40e9b5a2
Promote set to default gems 2020-08-20 12:39:11 +09:00
Nobuyoshi Nakada fee1b98fde
[DOC] fixed the method name 2020-08-14 16:33:47 +09:00
Burdette Lamar 22fd617aa5
Adding doc/dig_methods.rdoc and links to it (#3416)
Adds a full discussion of #dig, along with links from Array, Hash, Struct, and OpenStruct.

CSV::Table and CSV::Row are over in ruby/csv. I'll get to them soon.

The art to the thing is to figure out how much (or how little) to say at each #dig.
2020-08-13 13:16:27 -05:00
Jeremy Evans d43e99b722
Add Method Documentation Guide (#3399)
This documents how methods for core classes and classes in the
standard library should be documented.

Co-authored-by: Eric Hodel <drbrain@segment7.net>
2020-08-10 12:47:31 -07:00
Hiroshi SHIBATA 2bd1f827f1
Promote io-nonblock to the default gems. 2020-07-30 21:21:08 +09:00
Hiroshi SHIBATA d75b42a70a
Promote io-wait to the default gems 2020-07-30 21:10:28 +09:00
Hiroshi SHIBATA 7befc0cdfc
Promote optparse to default gems 2020-07-22 18:38:51 +09:00
Burdette Lamar d9749b4715
[ruby/csv] RDoc for converters (#157)
* More on RDoc for converters

* More on RDoc for converters

* Fix indent

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
https://github.com/ruby/csv/commit/6044976160
2020-07-20 02:32:54 +09:00
Burdette Lamar 544d82f49b
[ruby/csv] RDoc: summary lists for options (#154)
* RDoc: summary lists for options

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods

* Enhanced RDoc for certain attributes and instance methods
https://github.com/ruby/csv/commit/72d8a25dc9
2020-07-20 02:32:54 +09:00
Burdette Lamar 7bf13c5183
[ruby/csv] Improve RDoc for common options (#146)
https://github.com/ruby/csv/commit/223cbee35d
2020-07-20 02:32:53 +09:00
Burdette Lamar d9eff306f5
[ruby/csv] Organize files in doc/ (#145)
https://github.com/ruby/csv/commit/bc9ea859b0
2020-07-20 02:32:53 +09:00
Burdette Lamar 9901bb4c73
[ruby/csv] Add missing file doc/argument_io.rdoc (#140)
https://github.com/ruby/csv/commit/e37f04aa5c
2020-07-20 02:32:52 +09:00
Burdette Lamar 6ba1abd40c
[ruby/csv] Enhanced Rdoc for CSV (#122)
https://github.com/ruby/csv/commit/cd670595d5
2020-07-20 02:32:50 +09:00
Jeremy Evans 021cec938a Clarify behavior of super in method in module included in refinement [ci skip]
Fixes [Bug #16977]
2020-07-10 15:31:51 -07:00
Hiroshi SHIBATA 70b8bdbc90 Removed sdbm entries from doc 2020-06-19 08:26:47 +09:00
Yusuke Endoh 8bee9e5cd5 doc/contributing.rdoc: Now ruby >= 2.2 or 2.3 is required to build ruby 2020-06-10 09:52:54 +09:00
Hiroshi SHIBATA 41b8866e75
This document is steal status.
Now, You can see the all of contributors at https://github.com/ruby/ruby/graphs/contributors
2020-06-10 09:29:37 +09:00
Jeremy Evans d2c48705ae Update extension.rdoc for Ruby 3 keyword argument separation [ci skip]
This removes the discussion of behavior removed in Ruby 3.
2020-06-01 15:18:50 -07:00
Nobuyoshi Nakada 3ed79a97b0
doc/contributing.rdoc: Removed obsolete platforms [ci skip] 2020-05-29 23:49:15 +09:00
Nobuyoshi Nakada 2225aa987f
[DOC] Turned note-lists into label-lists [ci skip] 2020-05-25 11:02:08 +09:00
Nobuyoshi Nakada 185f49f90c
Fixed RDoc formatting [ci skip] 2020-05-18 21:25:01 +09:00
Avdi Grimm afd84c58ac Document how to enable USDT method entry/exit tracepoints 2020-05-18 17:39:21 +12:00
Burdette Lamar 24739c62e5
[ci skip] Rdoc enhancements for Array (#3063)
* Per @nobu review

* Rdoc enhancements for Array

* Responses to review
2020-05-15 14:12:40 -07:00
Burdette Lamar d469807980
[CI skip] Enhance rdoc intro for Hash (#3056)
* Per @nobu review

* [CI skip] Enhance rdoc intro for Hash

* Tweak call-seq for Hash.new

* Tweak call-seq for Hash.new

* Minor corrections

* Respond to review

* Respond to review

* Respond to review

* Respond to review

* Fix chain exampmle

* Response to review
2020-05-15 14:11:42 -07:00
Kazuhiro NISHIYAMA a9b2014d26
Fix a typo [ci skip] 2020-05-15 17:45:28 +09:00
Yusuke Endoh 39365b46e2
Merge pull request #3047 from mame/suppress-backtrace
Add `--suppress-backtrace=num` option to limit the backtrace length
2020-05-15 01:22:56 +09:00
Samuel Williams 0e3b0fcdba
Thread scheduler for light weight concurrency. 2020-05-14 22:10:55 +12:00
Nobuyoshi Nakada 5b8c36dfb2
[DOC] Added GNU make specific targets [ci skip] 2020-04-24 18:32:47 +09:00
Nobuyoshi Nakada 04a55763fa
[DOC] Split "How to run a part of the test suite" [ci skip] 2020-04-24 18:32:41 +09:00
Burdette Lamar f563f3c5ef
RDoc enhancements for Hash[]. 2020-04-23 20:46:20 +12:00
Kazuki Tsujimoto e042380e0e
power_assert repository is transferred to ruby/power_assert 2020-04-18 20:42:00 +09:00
Kazuhiro NISHIYAMA 5257a53090
Removed NIL/TRUE/FALSE from documents too
This is follow up of 62554ca978
2020-04-17 17:40:57 +09:00
Nobuyoshi Nakada bc646e6715
[DOC] get rid of parsing as TIDYLINK unintentionally 2020-04-07 13:59:38 +09:00
Kazuki Tsujimoto cab9788e0c
Fix typos 2020-04-05 12:15:18 +09:00
zverok 33260d404f Enhance pattern matching introduction 2020-04-04 23:16:49 +09:00
Hiroshi SHIBATA 4be2a891cc
The upstream repository of bundler was changed rubygems/rubygems now.
https://github.com/rubygems/rubygems/pull/3166
2020-03-16 19:28:52 +09:00
Kazuhiro NISHIYAMA bf9abc4772
Use URL instead of relative path 2020-03-10 22:20:18 +09:00
Kazuhiro NISHIYAMA 21039d9c73
Add link to ../benchmark/README.md from make_cheatsheet [ci skip] 2020-03-10 22:18:59 +09:00
Jeremy Evans f991340e07 Document defined? and global_variables handling of regexp global variables [ci skip]
Fixes [Bug #11304]
2020-03-06 13:06:49 -08:00
zverok 281b350058 Add pattern matching documentation
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.
2020-02-24 00:28:13 +09:00
Hiroshi SHIBATA fa1cf777db
Move an entry of net-ftp to the default gems section 2020-02-21 21:23:16 +09:00
Hiroshi SHIBATA a294ec1622
Move an entry of net-ftp to the default gems section 2020-02-21 19:56:15 +09:00
Masataka Pocke Kuwabara 59c2a115f0 Fix typo in NEWS-2.7.0 2020-02-21 13:31:15 +09:00
Hiroshi SHIBATA a326b4b0b8
Move an entry of net-imap to the default gems section 2020-02-20 21:24:51 +09:00
Marcus Stollsteimer 97e8212a76 doc/make_cheatsheet.md: fix typos 2020-02-19 20:57:38 +01:00
Hiroshi SHIBATA c42c6a5950
Move the entry of net-protocol on docs 2020-02-17 22:16:13 +09:00
Hiroshi SHIBATA 4a2b99795a
Move the English entries to the default gems at docs 2020-02-13 20:36:44 +09:00
Hiroshi SHIBATA a91ce05046
Move the entries of tempfile on docs 2020-02-12 20:34:19 +09:00
Hiroshi SHIBATA 1b219f1fb2
Move the entries of tempfile on docs 2020-02-12 19:47:31 +09:00
Jeremy Evans ea32715e00 Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip] 2020-02-11 08:52:14 -08:00
Hiroshi SHIBATA f905f694cc
Monitor is extention library now 2020-02-11 14:27:15 +09:00
Hiroshi SHIBATA 3e788241ea
Update the documentation for weakref 2020-02-11 14:10:49 +09:00
Hiroshi SHIBATA 2d1cb93d40
Update readline-ext entry at docs 2020-02-10 20:51:06 +09:00
Hiroshi SHIBATA 442c6de554
Added commands of test-bundler to cheatsheet. 2020-02-10 13:28:54 +09:00
Yusuke Endoh 26532c7e77 doc/make_cheatsheet.md: add a memo about how to run one rubyspec file 2020-02-09 21:40:16 +09:00
Taha Husain 7f6bd6bb1c fix rdoc formatting [ci skip] 2020-02-01 23:06:33 +09:00
Kazuhiro NISHIYAMA 9af7d048b6
Fix a typo [ci skip] 2020-01-24 15:59:45 +09:00
MSP-Greg 5bb1c81a33 rename make-cheetsheet.md [ci skip] 2020-01-24 15:27:21 +09:00
Yusuke Endoh db82c680cd doc/make-cheetsheet.md: Added 2020-01-24 10:29:33 +09:00
Adam Isom 09271acdaf Update documentation for Array/Hash Argument section of methods.rdoc 2020-01-17 19:50:39 +09:00
Hiroshi SHIBATA 62baad9fe1
Removed xmlrpc and net-telnet from the bundled gems.
[Feature #16484][ruby-core:96682]
2020-01-16 16:56:53 +09:00
Hiroshi SHIBATA 83240f315a Make rss library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA c3ccf23d58 Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683]
2020-01-12 12:28:29 +09:00
Hiroshi SHIBATA b53d8230f1
Fixed the wrong url for benchmark 2020-01-10 22:57:20 +09:00
Hiroshi SHIBATA e04366056a
Update the upstream repository of bundler 2020-01-10 22:56:46 +09:00
Takashi Kokubun afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
Kazuhiro NISHIYAMA 3096baec0e
Copy NEWS to doc/NEWS-2.7.0 2019-12-31 18:16:21 +09:00
Vladimir Dementyev e882187612 syntax.rdoc: remove "experimental" from refinements (#2796) 2019-12-29 16:59:07 -08:00
Marcus Stollsteimer 3679023df8 [DOC] Fix typo and language 2019-12-24 16:57:30 +01:00
Marcus Stollsteimer 66e518f7b3 [DOC] Fix typo 2019-12-24 13:01:24 +01:00
Marcus Stollsteimer a7b5018495 [DOC] Use capitalized "Ruby" 2019-12-23 22:07:02 +01:00
Marcus Stollsteimer ba9ccef818 [DOC] Various fixes in bug triaging guide 2019-12-23 22:04:59 +01:00
zverok a4b99f9764 Fix typos of previous docs PR
In #2612 I made two typos (extra ,, and copy-pasted
same line of code instead of showing two different
ones), fixing them.
2019-12-23 08:36:58 +09:00
zverok e568bb5649 Update private visibility explanation 2019-12-22 23:17:39 +09:00
Nobuyoshi Nakada fac60be324
shell.rb is no longer bundled [ci skip] 2019-12-20 09:40:06 +09:00
Nobuyoshi Nakada db16629008
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-20 09:32:42 +09:00
Kevin Deisz 171803d5d3 Promote did_you_mean to default gem
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details.
2019-11-30 21:08:19 -05:00
Hiroshi SHIBATA 0950ef9a9a Remove e2mmap entries from docs 2019-11-30 08:00:40 +09:00
aycabta 91bf3b7a77 Use singleline/multiline instead of readline/reidline 2019-11-21 02:44:35 +09:00
Jeremy Evans 3a0de05bee Remove mention of $SAFE and taint from doc [ci skip] 2019-11-18 01:00:25 +02:00
Hiroshi SHIBATA bcfe94b7f2
Revert "Revert "Promote uri to default gems""
This reverts commit fdfad90522.

  f1f27da6c4 resolved this.
2019-11-11 22:21:43 +09:00
Hiroshi SHIBATA fdfad90522
Revert "Promote uri to default gems"
This reverts commit c5b4d2a259.

  This commit affects with activation feature of RubyGems.
  [Bug #16337][ruby-core:95768]
2019-11-09 20:16:03 +09:00
Hiroshi SHIBATA c5b4d2a259
Promote uri to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 8c9438d219
Promote yaml to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 2a0ed5691e
Promote timeout to default gems 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 9a90a4d953
Fixup 368ee984ed52f6abe1fdf8360ad72e6cf1cbfa66 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA 5f206cebb9
Promote observer to default gems. But not yet released 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA fc1d06b25d
Added gemspec for readline gem that is wrapper library for reline and readline extension 2019-11-09 07:32:34 +09:00
Hiroshi SHIBATA fc85bdeb77
Promote cgi to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 223d3c460a
Promote net-smtp to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA eb0b13596d
Promote net-pop to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 77c94e0dd8
Promote benchmark to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 1159dbf305
Promote delegate to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 3b0bd34001
Promote pstore to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA 6797c3e371
Promote getoptlong to default gems 2019-11-07 16:36:14 +09:00
Hiroshi SHIBATA d1630d41ad
Promote open3 to default gems 2019-11-07 07:16:27 +09:00
Hiroshi SHIBATA fb7fe7f16c
Added rubygems url for published gem 2019-11-07 07:16:27 +09:00
Hiroshi SHIBATA 91135f6d29
Promote singleton to default gems 2019-11-07 07:16:26 +09:00
Nobuyoshi Nakada 7b2cd548aa
[DOC] mentioned `\R` [ci skip] 2019-11-03 23:18:01 +09:00
Nobuyoshi Nakada f8b3d7d159
[DOC] \s in regexp is not same as in string [ci skip] 2019-11-03 22:53:17 +09: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
Kazuhiro NISHIYAMA 959ddf44b3
Fix typos [ci skip] 2019-10-23 12:00:44 +09:00
Kazuhiro NISHIYAMA d2982bea67
Remove duplicated `.` [ci skip] 2019-10-15 20:18:32 +09:00
Jeremy Evans 29c1e9a0d4 Document the difference between expressions and statements [ci skip]
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-10 13:45:19 -07:00
Jeremy Evans 59c3b1c9c8 Add section to extension.rdoc for backwards compatibility macros [ci skip]
These macros should make it easier to C extensions to switch to
the Ruby 2.7 C-API *_kw functions, but still have the code work
correctly on older Ruby versions.
2019-10-07 13:51:28 -07:00
Jeremy Evans c0eae130b1 Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removed
There is no need for these in Ruby 3.0, and the plan is to
remove them.
2019-10-07 13:51:21 -07:00
Jeremy Evans 9f24e8fdbb Document *_kw functions added to include/ruby/ruby.h [ci skip]
Also documents the non-*_kw functions if they were not already
documented.
2019-10-03 14:13:27 -07:00
Jeremy Evans c7715a4936 Add documentation regarding keyword argument separation [ci skip] 2019-10-03 14:13:27 -07:00
Jeremy Evans 12e27a411c Minor updates to methods and calling_methods documentation [ci skip] 2019-10-03 14:13:27 -07:00
Nobuyoshi Nakada 2683171994
[DOC] DOT is not a part of a receiver [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 16:43:39 +09:00
Hiroshi SHIBATA 9d25c652a9
Removed ThreadsWait from the ruby repository 2019-09-20 14:21:04 +09:00
Hiroshi SHIBATA 37c0839425
Removed Synchronizer from the ruby repository. 2019-09-20 14:06:22 +09:00
Hiroshi SHIBATA 3b56a0934f
Removed Shell from the ruby repository. 2019-09-20 12:56:18 +09:00
Hiroshi SHIBATA 67a6662032
Removed Scanf from the ruby repository. 2019-09-20 12:43:11 +09:00
Hiroshi SHIBATA a3b8501614
Removed CMath from the ruby repository. 2019-09-20 12:31:37 +09:00
Nobuyoshi Nakada b80df6e8e0
Update NEWS and documents [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 02:40:59 +09:00
Kazuhiro NISHIYAMA 70f57287cf
Fix a typo [ci skip] 2019-09-16 21:36:23 +09:00
Jeremy Evans cd0e208963 Document {n}? regexp pattern is optional and not non-greedy [ci skip]
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, as otherwise the ? would have no effect.

Fixes [Bug #15583]
2019-08-28 11:50:33 -07:00
Nobuyoshi Nakada 7704bbd640
Marked up command line options [ci skip] 2019-08-16 00:28:22 +09:00
Olivier Lacan 8e7df4bbf9
Use the word heredocs in Here Documents docs
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-08-04 09:18:48 +09:00
Nobuyoshi Nakada 954223ebd4
[DOC] mentioned minimum versions of tools [ci skip] 2019-08-03 14:56:41 +09:00
Jeremy Evans bd32833382 Document behavior when mixing named captures with parentheses [ci skip]
Fixes [Bug #13716]
2019-07-26 14:26:59 -07:00
Hiroshi SHIBATA ab087ecb4d
Added the upstream repositories to default gems. 2019-07-23 13:34:35 +09:00
Hiroshi SHIBATA 73d56d6fe7
reline is default gems now. 2019-07-23 13:32:21 +09:00
Hiroshi SHIBATA 44cfabddbe
Removed duplicated entry for racc. 2019-07-23 11:20:08 +09:00
Jeremy Evans c945d115a5 Document use of ensure and else at method level [ci skip] 2019-07-19 11:39:05 -07:00
Jeremy Evans ceeb1535dd Remove section on performance advantage of not using a block parameter [ci skip]
Improvements in Ruby 2.5 and 2.6 make this section no longer
accurate.
2019-07-19 11:38:49 -07:00
Jeremy Evans 7e2677675d Remove mention of Proc.new with implicit block [ci skip]
This support is now deprecated and will be removed in Ruby 3.
2019-07-19 11:38:49 -07:00
Jeremy Evans bf2f84b2ff Document evaluation order of arguments [ci skip]
Fixes [Misc #8905]
2019-07-19 11:38:49 -07:00
Jeremy Evans 71d21f3c75 Document required keyword argument syntax [ci skip]
Fixes [Bug #8952]
2019-07-19 11:38:42 -07:00
Kazuhiro NISHIYAMA e644e2de85
Remove doc/etc.rd.ja [ci skip]
[Feature #16003] [ruby-dev:50814]
2019-07-19 09:01:53 +09:00
Kazuhiro NISHIYAMA 62f34bd1fe
doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]
They are warned since 2.4.0.
2019-07-15 13:59:02 +09:00
Jeremy Evans 99afea5328 Add bug triaging guide
Implements [Misc #15943]
2019-07-14 21:41:12 -07:00
Kazuhiro NISHIYAMA 226d569e57
doc/irb/irb.rd.ja: Update options from `irb -h` [ci skip] 2019-07-15 11:03:24 +09:00
Kazuhiro NISHIYAMA 05cc87df1b
[DOC] Struct::Passwd#uclass renamed from #class at r2500 [ci skip] 2019-07-15 10:53:05 +09:00
Kazuhiro NISHIYAMA d0f113f6c1
doc/globals.rdoc: Add RUBY_REVISION [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA ab31e13e75
doc/globals.rdoc: Add RUBY_PATCHLEVEL [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 9a402cf61f
doc/globals.rdoc: Add RUBY_COPYRIGHT [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 5d606b5174
doc/globals.rdoc: Add TOPLEVEL_BINDING [ci skip] 2019-07-14 22:15:42 +09:00
Kazuhiro NISHIYAMA 2618db3011
[DOC] Fix typos [ci skip] 2019-07-14 16:00:34 +09:00
Kazuhiro NISHIYAMA f2d99fd820
[DOC] Fix indent [ci skip] 2019-07-14 15:54:19 +09:00
Kazuhiro NISHIYAMA dda2c860d9
[DOC] Fix link to feature [ci skip] 2019-07-14 14:59:34 +09:00
Kazuhiro NISHIYAMA 6da539be3e
Fix typos [ci skip] 2019-07-14 14:52:31 +09:00
Kazuhiro NISHIYAMA 421dd31145
[DOC] Fix experimental marker [ci skip] 2019-07-14 14:34:32 +09:00
Nobuyoshi Nakada 1a4f7c9bfa
[DOC] Markup code in globals.rdoc
Look forward to further improvements in RDoc to automatically mark
up global variables and global constants.
2019-07-13 23:36:34 +09:00
Benoit Daloze 6ef73c1472 Improve documentation in doc/globals.rdoc 2019-07-13 15:47:37 +02:00
Benoit Daloze 237b3e00c7 Document $~ before dependent global variables 2019-07-13 15:39:54 +02:00
Benoit Daloze b1ee7148f8 Improve documentation of $LOAD_PATH 2019-07-13 15:35:16 +02:00