Takashi Kokubun
e7443dbbca
Rewrite Symbol#to_sym and #intern in Ruby ( #6683 )
2022-11-15 21:34:30 -08:00
Jean Boussier
e3aabe93aa
Implement Queue#pop(timeout: sec)
...
[Feature #18774 ]
As well as `SizedQueue#pop(timeout: sec)`
If both `non_block=true` and `timeout:` are supplied, ArgumentError
is raised.
2022-08-02 11:04:28 +02:00
Jemma Issroff
c00feffb46
Improve documentation on contributing to Ruby
...
co-authored-by: Peter Zhu <peter@peterzhu.ca>
co-authored-by: Stan Lo <stan001212@gmail.com>
2022-05-11 10:59:24 -04:00
Burdette Lamar
9ca3d537b9
All-in-one RDoc for class String ( #5777 )
2022-04-07 14:29:04 -05:00
Jean Boussier
afcbb501ac
marshal.c Marshal.load accepts a freeze: true option.
...
Fixes [Feature #18148 ]
When set, all the loaded objects are returned as frozen.
If a proc is provided, it is called with the objects already frozen.
2021-10-05 18:34:56 +02:00
S-H-GAMELINKS
46ff44ef17
Add nilclass.rb to .document
2021-06-23 10:23:10 +09:00
Kazuhiro NISHIYAMA
69ea2701ae
Sort filenames [ci skip]
2021-01-15 12:29:39 +09:00
Kazuhiro NISHIYAMA
9c0189582d
Add timev.rb to .document
2021-01-15 11:48:55 +09:00
S.H
daec5f9edc
Improve performance some Float methods [Feature #17498 ] ( #4018 )
2021-01-01 18:39:07 -08:00
Victor Shepelev
1f565ac6d9
Add documentation for Ractor ( #3895 )
2020-12-19 13:04:40 -05:00
Takashi Kokubun
95b0fed371
Make Integer#zero? a separated method and builtin ( #3226 )
...
A prerequisite to fix https://bugs.ruby-lang.org/issues/15589 with JIT.
This commit alone doesn't make a significant difference yet, but I thought
this commit should be committed independently.
This method override was discussed in [Misc #16961 ].
2020-06-20 14:55:09 -07:00
Nobuyoshi Nakada
310054b240
Moved `Dir.open` and `Dir#initialize` to dir.rb
2020-04-06 22:22:25 +09:00
S.H
290d608637
support builtin for Kernel#clone
2020-03-17 19:37:07 +09:00
S-H-GAMELINKS
775e31c801
Add array.rb to .document
2020-02-12 17:46:58 +09:00
Yusuke Endoh
9feca5ceb9
NEWS.md: converted from NEWS
...
and NEWS is deleted
2020-01-15 12:42:47 +09:00
Nobuyoshi Nakada
302e896833
Added warning.rb to .document
2019-12-24 13:12:28 +09:00
Yusuke Endoh
a3141e3c76
Rubified the APIs of pack.c
2019-11-08 23:51:51 +09:00
Koichi Sasada
8fa41971c2
use builtins for GC.
...
Define a part of GC in gc.rb.
2019-11-08 15:29:02 +09:00
Koichi Sasada
365557f111
Define IO#read/write_nonblock with builtins.
...
IO#read/write_nonblock methods are defined in prelude.rb with
special private method __read/write_nonblock to reduce keyword
parameters overhead. We can move them into io.rb with builtin
functions.
2019-11-08 10:03:19 +09:00
Koichi Sasada
a47d058ebf
use builtin for RubyVM::AbstractSyntaxTree.
...
Define RubyVM::AbstractSyntaxTree in ast.rb
with __builtin functions.
2019-11-08 09:09:29 +09:00
Koichi Sasada
e2a45cb984
use builtin for TracePoint.
...
Define TracePoint in trace_point.rb and use __builtin_ syntax.
2019-11-08 09:09:29 +09:00
nobu
0d54245a1c
Include LEGAL in .document [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-01 12:05:37 +00:00
kazu
dfeafff30e
[DOC] Add win32/README.win32 to .document
...
see https://github.com/ruby/docs.ruby-lang.org/issues/56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-12 14:24:06 +00:00
kazu
342709d187
Try to fix some broken links
...
see https://github.com/ruby/docs.ruby-lang.org/issues/56
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-04-10 15:29:16 +00:00
hsbt
99d64640c4
Exclude Changelog files from documentation.
...
Patch from larskanis (Lars Kanis).
[Misc #13704 ][ruby-core:81878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-01 03:34:18 +00:00
nobu
0ae219f0e1
Document parse.y instead of ext/ripper/ripper.c
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-04-23 01:31:37 +00:00
sho-h
2bbd6f18cd
* .document: [DOC] add rbconfig. [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-14 12:52:00 +00:00
hsbt
18178a9331
* .document: removed needless entries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 01:39:11 +00:00
nobu
5b7850dafa
README files renamed
...
.document: README files renamed at r44684. [Bug #9255 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-18 08:47:15 +00:00
drbrain
247d51a44f
* .document: Removed extra space
...
* lib/irb/lc/.document: Hide help-message
* lib/minitest/.document: Hide README.txt
* lib/rake/lib/.document: Hide project.rake
* lib/rdoc/generator/template/json_index/.document: Hide JavaScript
files
* lib/rubygems/ssl_certs/.document: Hide PEM files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 00:36:07 +00:00
drbrain
52d4a465a8
* common.mk: Added --pages-dir to rdoc creation. Now doc/ items show
...
up at top-level.
* .document: Moved doc/* entries to doc/.document
* doc/.document: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 07:57:56 +00:00
drbrain
95ae31b70b
* .document: Added ChangeLog and doc/ChangeLog-* as documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04 07:54:13 +00:00
drbrain
f8f5a9eb4e
* .document: Add NEWS for `ri ruby:NEWS`
...
* NEWS: Set format as rdoc
* doc/NEWS-1.8.7: ditto
* doc/NEWS-1.9.1: ditto
* doc/NEWS-1.9.2: ditto
* doc/NEWS-1.9.3: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 19:12:03 +00:00
zzak
d07c73be40
* .document: Add README's to be included with docs
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 23:55:31 +00:00
knu
a828a658a4
* prelude.rb, .document: Stuff in prelude.rb should be documented
...
as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 12:48:43 +00:00
naruse
5e5b4c08fc
* .document: remove documents not in rdoc format until
...
rdoc supports non rdoc files. [ruby-core:26459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 01:26:13 +00:00
naruse
716c2074bc
* .document: add some README files to default rdoc's of trunk.
...
patched by Roger Pack [ruby-core:26459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-04 12:40:39 +00:00
nobu
c922e50804
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
...
files.
* doc/re.rdoc: renamed from re.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:12:38 +00:00
naruse
63c7ca40d8
* doc/re.rb: New document for Ruby's fork of Oniguruma.
...
written by Run Paint Run Run [ruby-core:25420]
* re.c: import document in doc/re.rb.
* .document: add doc/re.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 00:40:49 +00:00
dave
f5666a648d
Support "require" as variable name in RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-10 03:35:51 +00:00
dave
88c127c19b
Finish documenting internal stuff. See Changelog for other details
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 06:01:12 +00:00