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

473 Коммитов

Автор SHA1 Сообщение Дата
knu 11b804feee [DOC] Remove `\0` since it's aprt of octal notation
A typo is fixed while at it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:58:56 +00:00
knu 5ac401c8dc [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:31:39 +00:00
nobu 2b89d63e61 literals.rdoc: add DEL [ci skip]
* doc/syntax/literals.rdoc (Strings): [DOC] add DEL.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:21:13 +00:00
knu 6989f24117 [DOC] Revise the character literal part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:16:15 +00:00
knu d23857e558 [DOC] Document the full list of supported escape sequences in string literals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 06:03:18 +00:00
nobu 22190b3f32 literals.rdoc: fix typos
* doc/syntax/literals.rdoc (Strings): fix typos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 05:31:26 +00:00
usa 35947f6d42 * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-16 04:24:31 +00:00
hsbt 303c5a370e * doc/contributing.rdoc: fix configuration option.
[ci skip] [fix GH-1009]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-04 08:46:22 +00:00
nobu 63ee970ffb contributing.rdoc: double quotes [ci skip]
* doc/contributing.rdoc: double quotes to expand an environment
  variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 07:55:02 +00:00
nobu 6ed8d39de0 contributing.rdoc: portable substitution [ci skip]
* doc/contributing.rdoc: use portable substitution syntax
  available in plain bourne shell.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 06:48:09 +00:00
hsbt 40e2bed3dd * doc/contributing.rdoc: fixed wrong instructions with OS X
[fix GH-989][ci skip] Patch by @schneems

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-04 00:22:05 +00:00
normal 5c461d1eee doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip]
[ruby-core:68507]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-04 21:45:23 +00:00
tenderlove 8252ef0ad3 change lingering dtrace probe documentation from function- to method-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-30 02:04:26 +00:00
ktsj 20fe5da889 * doc/maintainers.rdoc: [DOC] net/telnet is no more in the stdlib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 16:14:39 +00:00
hsbt f266d21f65 * doc/syntax/control_expressions.rdoc: fix a missing "a"
[fix GH-888][ci skip] Patch by @riffraff

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-08 06:06:03 +00:00
hsbt d9a2b3480e * doc/contributors.rdoc: fix a typo. Patch by @davydovanton
[fix GH-872][ci skip]
* doc/syntax/methods.rdoc: ditto.
* ext/digest/sha2/sha2.c: ditto.
* ext/socket/ipsocket.c: ditto.
* ext/tk/*: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-15 01:37:47 +00:00
svn 14ec77d179 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-14 23:26:01 +00:00
yugui 98544c372d * doc/extension.ja.rdoc: Added description of TypedData_XXX.
Deprecated the old DATA_XXX.
  Reviewed by ko1 and nobu.
  Fixes [ruby-dev:40881] #3064

* doc/extension.rdoc: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-14 23:25:47 +00:00
usa 06d95893b0 * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-05 00:55:31 +00:00
svn c3c7b61bde * remove trailing spaces, append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:26:14 +00:00
hsbt dd659dc3b0 * doc/ChangeLog-0.06_to_0.52: added archived Changelog.
[ruby-list:50105]
* doc/ChangeLog-0.50_to_0.60: ditto.
* doc/ChangeLog-0.60_to_1.1: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-31 06:25:14 +00:00
normal 34870967c0 doc/extension*: Fix spelling of filenames
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 23:15:04 +00:00
hsbt 6d86d0773c * doc/extention.rdoc: move from toplevel document and added extname.
* doc/extention.ja.rdoc: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:23:38 +00:00
hsbt cd101b50ea * doc/standard_library.rdoc: strip.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:07:19 +00:00
hsbt 035bdf3788 * doc/standard_library.rdoc: move Thread to Extentions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 13:07:03 +00:00
hsbt cd834d45a2 * doc/contributing.rdoc: update Maintainers list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 12:59:36 +00:00
kou d54bedb7f8 * doc/etc.rd.ja: Fix wrong coding for Emacs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 13:08:47 +00:00
hsbt c5e9d76221 * doc/syntax/methods.rdoc: add some missing spaces and
fix a grammatical error in method docs.
  [fix GH-843][ci skip] Patch by @nikolas

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-04 01:15:43 +00:00
hsbt 23b9356a0e * doc/syntax/calling_methods.rdoc: Fix documentation for "calling_methods"
Patch by @sos4nt [fix GH-830][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-17 02:04:02 +00:00
sho-h d38ef77dec * doc/standard_library.rdoc: [DOC] delete removed libraries.
[misc #10843] [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-15 05:26:49 +00:00
nobu e27a538eab security.rdoc: correction
* doc/security.rdoc (Symbols): ID2SYM never creates new IDs bound
  to immortal symbols, SYM2ID may create new IDs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05 21:09:27 +00:00
marcandre 899a1faa8f * doc/security.rdoc: [DOC] ammend symbols section for bug with
keyword args [ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-05 20:06:11 +00:00
marcandre 8350b7dc04 * doc/security.rdoc: [DOC] ammend symbols section for bug with send [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04 16:41:38 +00:00
marcandre 229bfa7bb1 * doc/security.rdoc: [DOC] update symbols section [ci-skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-04 16:24:16 +00:00
nobu 92c1538d48 security.rdoc: update about Symbol GC [ci skip]
* doc/security.rdoc (Symbols): update about Symbol GC.  Symbols
  explicitly converted from Strings now can be collected, but
  reflection/metaprogramming still can cause memory flooding.
  [Fix GH-725]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-02 01:51:37 +00:00
hsbt d03c86391b * doc/regexp.rdoc: fix regexp docs for whitespace character.
[ruby-dev:48765] [Bug #10624]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-01 12:41:54 +00:00
normal 12c2ad515e doc/syntax/literals.rdoc: spelling fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 16:54:32 +00:00
nobu d1e65737f6 literals.rdoc: quoted symbol keys
* doc/syntax/literals.rdoc (Hashes): describe about quoted symbol
  keys.

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 05:29:28 +00:00
nobu 25dddf158c literals.rdoc: Update for symbol literals
* doc/syntax/literals.rdoc (Symbols): now Symbols created by
  interpolation can be garbage collected.  patch by Yihang Ho in
  [ruby-core:67194].  [Bug #10671]
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-29 05:27:36 +00:00
kazu 39b8908e37 old ChangeLog and NEWS move to doc
* doc/NEWS-2.2.0: moved from NEWS
* doc/ChangeLog-2.2.0: moved ChangeLog older than created ruby_2_2 branch
* NEWS: NEWS for 2.3.0 that describes changes since 2.2.0
* ChangeLog: ChangeLog since branch point of ruby_2_2 branch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-25 13:53:36 +00:00
hsbt 6ec023e568 * doc/syntax/refinements.rdoc: refinements are no longer experimental.
patch by @gaurish [fix GH-755][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-01 01:42:38 +00:00
tenderlove 07308c4d30 * ext/dl/*: remove DL as it is replaced by Fiddle.
[Feature #5458] Thanks to Jonan Scheffler <jonanscheffler@gmail.com>
  for this patch

* test/dl/*: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-31 21:13:09 +00:00
nobu 1a65cef0f0 doc: remove trailing spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 00:13:32 +00:00
zzak f13f9f6946 * doc/syntax/methods.rdoc: [DOC] [] and []= methods by @process
[Fixes GH-662] https://github.com/ruby/ruby/pull/662


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-22 10:50:52 +00:00
normal 161deb2196 doc/NEWS-2.0.0: fix typo for default RUBY_FIBER_MACHINE_STACK_SIZE
Checked against definition in vm_core.h
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-13 04:44:08 +00:00
drbrain e7ce17cfe8 * doc/keywords.rdoc: [DOC] Describe each keyword.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-07-24 18:54:13 +00:00
zzak bcd25152a6 * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
* doc/globals.rdoc: Added $LOADED_FEATURES to list


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-31 19:54:55 +00:00
zzak 71c4c0b9e7 * doc/regexp.rdoc: [DOC] Clarify whitespace matching by @allolex
[Fixes GH-606] https://github.com/ruby/ruby/pull/606 [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 01:36:05 +00:00
nobu 37ce765ba3 fix typo [Fix GH-603]
* bootstraptest/test_literal.rb: fix typo of "dynamic".  [ci skip]
* regexp.rdoc: fix typo of "organized".  [ci skip]
* lib/session.rb: fix typo of "recognized".  [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28 15:20:28 +00:00
hsbt b3b9b6e5f7 * doc/syntax/assignment.rdoc: [DOC] Fix typo unclosed HTML tag by @andrewdotn
[fix GH-574][ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-02 05:55:44 +00:00
zzak cac997eb95 * doc/syntax/literals.rdoc: [DOC] Single quote strings allows escape
of backslash as well, patch by @idupree [Fixes GH-553] [ci skip]
  https://github.com/ruby/ruby/pull/553


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-14 03:09:17 +00:00
zzak bfce381eb7 * doc/syntax/assignment.rdoc: [DOC] Fix assignment directions [ci skip]
By @idupree [Fixes GH-555] https://github.com/ruby/ruby/pull/555


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-06 06:16:35 +00:00
zzak 31fa4d8899 * doc/syntax/methods.rdoc: [DOC] Fix example for block arguments [ci skip]
By @idupree [Fixes GH-554] https://github.com/ruby/ruby/pull/554


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-06 06:08:40 +00:00
marcandre ec8de033e7 * NEWS-2.1.0: Mention that step can accept a 0 unit. See #9575
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 01:54:36 +00:00
zzak 2af43c6d4b * doc/keywords.rdoc: [DOC] Add keywords doc by documenting-ruby/ruby#29
https://github.com/documenting-ruby/ruby/pull/29 [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-17 06:46:17 +00:00
normal 10e7961f99 doc/contributing.rdoc: allow/encourage other git hosts
git is a distributed system, so make it clear to potential contributors
that it does not and should not matter where their repositories are
hosted.

Furthermore, it should be possible to contribute to Open Source projects
by relying only on Open Source tools, protocols and APIs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-28 18:42:39 +00:00
hsbt fb69a11710 * doc/syntax/refinements.rdoc: typo fix by @skade [fix GH-508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-21 12:00:08 +00:00
marcandre 291be0993b * doc/NEWS-2.1.0: Add mention for litteral.freeze
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-09 17:34:01 +00:00
kazu da8b79b4c4 old ChangeLog and NEWS move to doc
* doc/NEWS-2.1.0: moved from NEWS
* doc/ChangeLog-2.1.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.2.0 that describes changes since 2.1.0
* ChangeLog: ChangeLog since created v2_1_0_rc1 tag (branch point of ruby_2_1 branch)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 16:05:13 +00:00
zzak 573762a7b7 * doc/syntax/methods.rdoc: [DOC] Added example for underscore
conventions in method names. Also added doc to clarify encoding
  character set support for Ruby programs and elaborated on defining
  predicate and bang methods. Based on a patch by @gaurish
  [Fixes GH-477] https://github.com/ruby/ruby/pull/477


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 20:13:09 +00:00
zzak cadd660689 * doc/ChangeLog-1.9.3: [DOC] Fix typos by @dvsuresh
[Fixes GH-485] https://github.com/ruby/ruby/pull/485
* ext/openssl/ossl_config.c: ditto
* lib/rss/utils.rb, lib/time.rb: ditto
* test/ruby/envutil.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-22 18:21:14 +00:00
nobu cc0181caaf * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:56:07 +00:00
a_matsuda adb1ee65b7 [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
* doc/ChangeLog-YARV:  Correct a typo in comment
* lib/rubygems/specification.rb:  ditto.
* test/rexml/data/tutorial.xml:  ditto.
* test/ruby/test_settracefunc.rb:  ditto.
* tool/instruction.rb:  ditto.

https://github.com/ruby/ruby/pull/482
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 10:54:54 +00:00
a_matsuda c1ffaef8c9 * doc/contributing.rdoc: [DOC] Correct spelling by @dvsuresh [Fixes GH-481]
https://github.com/ruby/ruby/pull/481
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-14 07:26:38 +00:00
a_matsuda 94bc0647b2 * doc/contributing.rdoc: [DOC] Fix typo by @dvsuresh [Fixes GH-476]
https://github.com/ruby/ruby/pull/476
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-13 02:21:09 +00:00
a_matsuda 8920ac2972 * doc/contributing.rdoc: [DOC] Fix typo in comments by @dvsuresh [Fixes GH-475]
* ext/openssl/ossl_ssl.c: ditto.
* test/ruby/test_m17n.rb:  ditto.

https://github.com/ruby/ruby/pull/475
[ci-skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 07:21:19 +00:00
a_matsuda 1149533821 [DOC] Fix typo in docs/globals.rdoc by @dvsuresh [Fixes GH-474]
https://github.com/ruby/ruby/pull/474

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-12 06:05:34 +00:00
a_matsuda 02c8545037 * doc/contributing.rdoc: [DOC] curses is no more in the stdlib
* doc/contributors.rdoc:  Ditto.
* doc/maintainers.rdoc:  Ditto.
* doc/contributors.rdoc:  Ditto.
* doc/standard_library.rdoc:  Ditto.
* doc/syntax/modules_and_classes.rdoc:  Ditto.
* encoding.c:  Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-10 11:22:13 +00:00
tmm1 4092574257 vm_method.c: add new ruby::method-cache-clear dtrace probe
* vm_method.c (rb_clear_method_cache_by_class): fire
  ruby::method-cache-clear probe on global or klass-level method cache
  clear [Bug #9190]
* probes.d (provider ruby): new dtrace probe
* doc/dtrace_probes.rdoc: docs for new probe
* test/dtrace/test_method_cache.rb: test for new probe

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-09 22:50:44 +00:00
zzak 547bd873d3 * doc/contributors.rdoc: [DOC] Import contributors from redmine wiki
Many wiki pages have become outdated and spam-ridden, we will import
  these to trunk and begin maintaining them in ruby-trunk. This will
  also allow new contributors to easily contribute patches to update
  these pages, where previously a redmine account with wiki access was
  required. Another bonus is having a contributors file to show thanks
  to all of the people who have submitted a patch to Ruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 13:17:27 +00:00
zzak d9d35ac9a0 * doc/maintainers.rdoc: [DOC] Current maintainers of Ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 09:04:19 +00:00
zzak 9e09550984 * doc/contributing.rdoc: [DOC] Current branch maintainers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:18:04 +00:00
zzak 5c1c8227c9 * doc/contributing.rdoc: [DOC] Reporting other (ruby-lang.org) issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:17:11 +00:00
zzak 588b6891d6 * doc/contributing.rdoc: [DOC] Current platform maintainers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:16:20 +00:00
zzak 476e4d79fa * doc/contributing.rdoc: [DOC] Reporting downstream distro issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-01 08:15:36 +00:00
zzak 7d4fa2f20b * doc/dtrace_probes.rdoc: [DOC] Import dtrace probes doc from wiki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:44:38 +00:00
zzak 6bea00dc32 * doc/contributing.rdoc: [DOC] Add heading above ChangeLog tips to
setup entry for commits, its not required. Actually easier if
  contributors don't include a ChangeLog entry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:18:35 +00:00
zzak 8274df3e89 * doc/contributing.rdoc: [DOC] Add coding style heading for patch
rules


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:17:11 +00:00
zzak f1ea832fa0 * doc/contributing.rdoc: [DOC] Add notes about deciding what to patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 12:15:59 +00:00
zzak 85076c0160 * doc/contributing.rdoc: [DOC] Add notes about slideshow proposals
from wiki page: HowToRequestFeatures


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-28 10:29:54 +00:00
zzak 7b6deb9c4b * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.
Reported by Alex Johnson on ruby-doc.org


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13 01:56:27 +00:00
zzak d265baf31f * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld
  https://github.com/ruby/ruby/pull/443


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13 00:05:38 +00:00
drbrain 4afabb5a88 * doc/regexp.rdoc: [DOC] Replace paragraphs in verbatim sections with
plain paragraphs to improve readability as ri and HTML.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-17 03:56:32 +00:00
ktsj c65e9bbff9 * doc/security.rdoc: [DOC] fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-07 04:58:40 +00:00
zzak 077fa24833 * doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadler
[Fixes GH-380] https://github.com/ruby/ruby/pull/380


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12 23:54:38 +00:00
charliesome a5c3ca07f8 * doc/syntax/literals.rdoc: Use single quotes instead of double quotes
[Bug #8766] [ruby-core:56514]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-10 20:56:13 +00:00
drbrain be5a436f13 * doc/syntax/refinements.rdoc: Remove mention of instance_eval and
module_eval from scope section per:
  http://twitter.com/shugomaeda/status/363219951336693761


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-02 19:24:14 +00:00
drbrain c0d4ba9f40 * doc/syntax/refinements.rdoc: Improve description of where you may
activate refinements.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-02 00:14:58 +00:00
zzak 368cecc151 * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-20 13:34:34 +00:00
shugo 9487404c62 * doc/syntax/refinements.rdoc: add description of Module#using and
refinement inheritance by module inclusion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-02 08:24:26 +00:00
shugo 73a229c3a5 * NEWS: add notes for $SAFE.
* doc/security.rd: remove the description of $SAFE=4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 00:53:37 +00:00
zzak df4abd9b3b * doc/re.rdoc: Rename to doc/regexp.rdoc
* re.c: Update rdoc include for rename of file


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-11 03:50:33 +00:00
drbrain 0454c0a281 * doc/marshal.rdoc: Add description of Marshal format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 21:35:31 +00:00
nobu b4795cdbba * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:11:09 +00:00
ktsj edb98f8b91 fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
zzak 119f675189 * doc/contributing.rdoc: Add guide for contributing to CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-09 02:15:24 +00:00
eregon 96e14ad252 * doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-05 11:49:53 +00:00
zzak 5835461b16 * doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-03 22:21:34 +00:00
zzak 3ae96e8c6b typo s/Singelton/Singleton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-23 04:02:57 +00:00
zzak af4c2b3b4b fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-11 16:47:49 +00:00
nobu 7d3db3cc81 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-01 15:10:33 +00:00
kazu f526fc2cfa fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-28 10:07:17 +00:00
drbrain 2e3b394dca * doc/globals.rdoc: $? is thread-local
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14 01:01:20 +00:00
kazu b1f2460f8d fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-13 10:50:21 +00:00
kazu beafa477f1 old ChangeLog and NEWS move to doc
* doc/NEWS-2.0.0: moved from NEWS
* doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.1.0 that describes changes since 2.0.0
* ChangeLog: ChangeLog since created ruby_2_0_0 branch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25 00:41:07 +00:00
marcandre 143a2f7ef1 * doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:57:58 +00:00
drbrain 6b88b523f4 * doc/globals.rdoc: Document what setting $DEBUG does.
* doc/globals.rdoc:  Added pointer to $-d for full documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:31:09 +00:00
drbrain 9c49b69d3e * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
* doc/globals.rdoc:  Added pointer to $-w and $-v for full
  documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-21 21:27:25 +00:00
zzak 2bfa96ec84 * doc/rake/, lib/rake/doc/: Move Rake rdoc files to lib/rake
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-10 05:26:34 +00:00
zzak 20c05cdef0 * doc/rake/*: Removed stale Rake static files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-10 03:00:36 +00:00
zzak 90eb265f86 * doc/pty/README: Remove static documentation file
* ext/pty/pty.c: Add License to PTY module overview


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 20:51:56 +00:00
zzak 4f74d59be9 * doc/security.rb: Translate japanese kanji to english
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 17:16:39 +00:00
zzak a99dc84165 * doc/security.rdoc: Link to japanese version of CVE page patch by
nagachika


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 16:35:15 +00:00
zzak a493ec0388 * doc/pty/README.expect: Removed static documentation file
* ext/pty/lib/expect.rb: Documentation for IO#expect


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 14:31:32 +00:00
zzak fe072cef25 * doc/security.rdoc: Add link to CVEs on ruby-lang.org/en/security
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 04:03:39 +00:00
zzak afea6f4706 * doc/rubygems/*: Removed outdated documentation files
* lib/rubygems/LICENSE.txt: Include license file
* lib/rubygems.rb: Move Gem module documentation so rdoc can parse it
  and link to LICENSE.txt
* lib/rubygems/*: Hide useless documentation from Gem module rdoc


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 20:52:28 +00:00
zzak 55f11348c3 * doc/security.rdoc: Remove documentation for unsafe CSV.load which
was deleted in r39077


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 18:44:46 +00:00
charliesome 81f9052c11 * doc/security.rdoc: add regex, eval and drb sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 09:49:09 +00:00
zzak 6dfd56696f * doc/security.rdoc: Wrap security guide at 80 columns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 01:18:22 +00:00
zzak 47da37b0a0 * doc/security.rdoc: Grammatical error on security guide
Patch by Josh Bassett [Github fixes #245]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-05 01:14:52 +00:00
zzak 9cfc40ab96 * doc/standard_library.rdoc: Document list of libraries and extensions
and their purpose or short description
* lib/README: Remove lib/README in favor of doc/standard_library.rdoc


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-04 20:20:23 +00:00
charliesome cac38cd0a6 * doc/security.rdoc: add first cut at a Ruby security document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-03 07:14:44 +00:00
drbrain dbcf20069a * doc/syntax/calling_methods.rdoc: Added a Method Lookup section.
* doc/syntax/refinements.rdoc (Method Lookup):  Clarified that
  refinement methods are looked up in classes, not instances.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 07:54:45 +00:00
drbrain 30a9931bbc * doc/syntax/refinements.rdoc: Added refinements document based on
the specification from the wiki.
* doc/syntax.rdoc:  Added link to refinements document.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 00:40:49 +00:00
drbrain 596ed9c781 * doc/syntax/assignment.rdoc (Implicit Array Assignment): Clarify
that "left-hand side" means "of the assignment".  Suggested by Jorge
  Dias.
* doc/syntax/assignment.rdoc (Multiple Assignment):  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:41:37 +00:00
drbrain 2784129653 * doc/syntax/assignment.rdoc (Local Variables and Methods): Fixed
example showing caching of a method's results into a local variable.
  Added not about using an explicit receiver to call a method that
  matches a local variable.  Suggested by markov_twain on twitter.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 01:35:16 +00:00
drbrain b7ae472b58 * doc/syntax/miscellaneous.rdoc: Added section on defined?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:52:57 +00:00
drbrain 1ecaf599ff * doc/syntax/assignment.rdoc (Local Variables and Methods): Made it
more clear that local variables are created by the parser, not
	  execution.  Thanks to John Hawthorn.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:27:45 +00:00
drbrain 6ff1653cf6 * doc/syntax/assignment.rdoc: Improved links
* doc/syntax/methods.rdoc:  ditto.

	* doc/syntax.rdoc:  Added link to assignment document


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-19 00:16:08 +00:00
drbrain d9d981b940 * doc/syntax/assignment.rdoc: Added a syntax document on assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 23:47:51 +00:00
drbrain 1d5a5c235f * doc/syntax/methods.rdoc: Added Array Decomposition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-18 05:15:44 +00:00
drbrain 66013dc6d0 * doc/syntax/miscellaneous.rdoc: Added Ending an Expression and
indentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-17 01:21:28 +00:00
drbrain 1be8ac57ab * doc/syntax/control_expressions.rdoc: Added ? : ternary if
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-17 00:08:53 +00:00
drbrain 1eb9f71c3a * doc/syntax/miscellaneous.rdoc: Added documentation for alias, undef,
BEGIN, END.
* doc/syntax/modules_and_classes.rdoc (Constants):  Fixed unwrapped
  paragraph with trailing whitespace.
* doc/syntax/modules_and_classes.rdoc (Scope):  Added section pointing
  to alias and undef documentation.
* doc/syntax.rdoc:  Added link to miscellaneous section.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 23:36:46 +00:00
drbrain 038c535e18 * doc/syntax/control_expressions.rdoc (Flip-Flop): Added a section on
the flip-flop.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 22:50:54 +00:00
drbrain 9ceb50972f * doc/syntax/control_expressions.rdoc (if Expressions): Fixed markup
error.  Fixes #235 on github by FlyingFoX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 22:00:02 +00:00
drbrain d86ee14c5a * doc/syntax/literals.rdoc (Strings): Fixed typo. Fixes #236 on
github by Doug Yun.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-16 21:54:31 +00:00
drbrain a06f22f915 * doc/syntax/control_expressions.rdoc: Omit optional "then" for if and
unless expressions.  Improved description of "a if a = 0.zero?"
  NameError.  Note that "do" for for loop is optional.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:54:54 +00:00
drbrain 4cf9fa309d * doc/syntax/calling_methods.rdoc: Link to defining methods.
* doc/syntax/methods.rdoc:  Link to calling methods, fixed typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:29:05 +00:00
drbrain 8113321482 * doc/syntax/methods.rdoc: Fixed link
* doc/syntax/modules_and_classes.rdoc:  Fixed link
* doc/syntax.rdoc:  Updated with links to the recently added pages


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:15:12 +00:00
drbrain d902101b32 * doc/syntax/control_expressions.rdoc (redo Statement): Added note
about retry.
	* doc/syntax/exceptions.rdoc:  Added retry statement


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 18:06:24 +00:00
drbrain e071e13068 * doc/syntax/control_expressions.rdoc: Added description of control
expressions in ruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 06:55:43 +00:00
drbrain 68b072bfba * doc/syntax/methods.rdoc (Method Names): Added method names including
operator methods.
* doc/syntax/methods.rdoc (Return Values):  Added note that assignment
  methods ignore return values.
* doc/syntax/precedence.rdoc:  Added document describing precedence.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 04:33:28 +00:00
drbrain 108f3acbe4 * doc/syntax/methods.rdoc (Block Argument): Added section on block
argument.  Thanks to Andy Lindeman.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 02:49:54 +00:00
drbrain ec2bdfc763 * doc/syntax/calling_methods.rdoc (Arguments): Added improved
introduction to arguments including passing style and lazy
  evaluation.  Thanks to Matt Aimonetti.
* doc/syntax/calling_methods.rdoc (Positional Arguments):  Added
  description for sending a message to a method with *arguments
* doc/syntax/calling_methods.rdoc (Default Positional Arguments):
  Added description.  Thanks to Andy Lindeman.
* doc/syntax/calling_methods.rdoc (Block Local Arguments):
  Added description of block locals.  Thanks to Justin Collins.
* doc/syntax/calling_methods.rdoc (Hash to Keyword Arguments):  Added
  section describing ** operator.  Thanks  to Justin Collins.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 02:48:49 +00:00
drbrain 17bc951fc5 * doc/syntax/calling_methods.rdoc (Receiver): Added :: as pointed out
by Tony Arcieri
* doc/syntax/calling_methods.rdoc (Block Argument):  Fixed { } block
  examples as pointed out by David Copeland.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:29:56 +00:00
drbrain eeee190882 * doc/syntax/methods.rdoc (Array/Hash Argument): Moved above Keyword
Arguments
* doc/syntax/methods.rdoc (Keyword Arguments):  Described ** for
  gathering arbitrary keyword arguments.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-15 00:11:46 +00:00
drbrain c3319d991a * doc/syntax/calling_methods.rdoc: Added document describing method
calls.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-14 23:56:47 +00:00
drbrain 015997ecde * doc/syntax/modules_and_classes.rdoc: Fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-06 02:11:40 +00:00
drbrain ac67a2b6d4 * doc/syntax/modules_and_classes.rdoc: Added singleton classes
documentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 20:35:30 +00:00
drbrain 4061f5b6fc * doc/syntax/modules_and_classes.rdoc: Improved description of methods
on a module or class as suggested by Tobias Buhlmann


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 05:00:33 +00:00
drbrain a13aee62d2 * doc/syntax/modules_and_classes.rdoc: Added documentation of syntax
for Modules and Classes.
* doc/syntax/methods.rdoc:  Moved some text to the Modules and
  Classes syntax document.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-05 01:23:49 +00:00
drbrain 1da85070b0 * doc/syntax/methods.rdoc: Added return values and scope sections,
slightly modified from the original patch.  Fixes #227 from github by
  Dave Brown.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-04 23:39:48 +00:00
drbrain 4f7a6aafa5 * lib/rake/*: Updated to rake 0.9.6
* doc/rake/*:  ditto
* test/rake/*:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 02:34:37 +00:00
marcandre 542a12d673 * doc/syntax/methods.rdoc: rdoc fix, patch by Dave Brown
[github:222]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 09:05:44 +00:00
drbrain 8255e83912 * doc/syntax/literals.rdoc: Added 0d decimal format. Thanks Nobu!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 07:30:58 +00:00
drbrain d8cda04488 * doc/syntax/methods.rdoc: Fixed typo. Thanks to Josh Susser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 07:19:59 +00:00
drbrain 2c0d2db5cb * doc/syntax/methods.rdoc: Add () around keyword arguments example for
consistency.  Thanks to Josh Susser.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-19 06:24:02 +00:00
drbrain aa233d3f33 * doc/syntax/literals.rdoc: Used simplified heredoc example that
doesn't include method definition.  Added heredoc with backticks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 07:46:33 +00:00
drbrain 87f099d069 * doc/syntax/literals.rdoc: Added 0o octal integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 02:48:35 +00:00
drbrain 73b244d0de * doc/syntax/methods.rdoc: Added a description of singleton methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 03:05:45 +00:00
drbrain 85d3d572fa * doc/.document: Added doc/syntax
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 02:36:30 +00:00
drbrain 29fd593475 * doc/syntax.rdoc: Added syntax guide table of contents
* doc/syntax/exceptions.rdoc:  Syntax guide for exceptions
* doc/syntax/literals.rdoc:  Syntax guide for literals
* doc/syntax/methods.rdoc:  Syntax guide for methods


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-17 02:26:15 +00:00
zzak 536ecb3477 commit typo: remove file from r38358
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-13 05:25:15 +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
zzak 65129f3a5d Remove file from r38201
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 07:10:10 +00:00
zzak a756aa75ea * doc/etc.rd: Removed stale documentation file
* ext/etc/etc.c:  Merged documentation from doc/etc.rd and updated
  rdoc, added documentation for Etc::Passwd and Etc::Group


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 07:08:06 +00:00
zzak 5452c2d625 * doc/forwardable.rd: Remove stale documentation file
* lib/forwardable.rb: Merge documentation from doc/forwardable.rd


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 04:08:29 +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 118d9f43c8 * doc/globals.rdoc: Add documentation file for magic globals
[ruby-core:29048] [Bug #3022]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 23:57:20 +00:00
drbrain b8903f88f4 * doc/re.rdoc: Fix spelling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-24 21:54:50 +00:00
drbrain a60a58b183 * doc/re.rdoc: Completed wording in the description of the =~ operator.
[ruby-trunk - Bug #6529]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-08 23:17:00 +00:00
drbrain 5f85fcc11f * doc/re.rdoc (Performance): Replaced incorrect example of reducing
backtracking through anchoring with reduced backtracking through a
  range.  [ruby-trunk - Bug #6525]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-01 22:05:46 +00:00
drbrain 8424e37992 * doc/re.rdoc (Performance): Removed useless sample output from final
performance example and switched from #match to #=~ for consistency.
  [ruby-trunk - Bug #6524]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-01 21:35:05 +00:00
kazu 86716b9768 remove unbalanced parenthesis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-22 03:50:02 +00:00
nobu 01d54bc2c7 * doc/re.rdoc (Repetition): fix typo. reported by Ori Avtalion
and patched by Zachary Scott.  [Bug #5947]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-01 00:50:17 +00:00
marcandre 6c38e611e4 * vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes

* iseq.c: Fix comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30 05:55:37 +00:00
nobu 15fb1619e3 * doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:40:28 +00:00
kazu 327ea26b59 * ext/bigdecimal/README: Update redmine.ruby-lang.org to bugs.ruby-lang.org
* ext/socket/ancdata.c: ditto
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb: ditto
* test/syck/test_yaml.rb: ditto
* doc/ChangeLog-1.9.3: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 16:09:17 +00:00
drbrain 3e204989c1 * doc/re.rdoc: Document difference between match and =~, options with
Regexp.new and global variables.  Patch by Sylvain Daubert.
  [Ruby 1.9 - Bug #5709]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 23:22:30 +00:00
drbrain 52654367f6 * doc/re.rdoc: Fix example code to match documentation. Patch by
Jarno Lamberg.  [Ruby 1.9 - Bug #5624]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 23:02:58 +00:00
nobu 818ebcc54b * doc/rake/CHANGES: reverted. this file is not written in Japanese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 06:05:31 +00:00
shyouhei 60c8455253 Change encoding from EUC-JP to UTF-8. [Feature #5128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 12:22:46 +00:00
tadf 0acaab201a * ext/date/date_core.c (date_strftime_alloc): followed the change
of r32885.
	* doc/NEWS-1.9.3: followed the above change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-13 00:12:05 +00:00
kazu 301a11b24b fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-14 07:56:22 +00:00
kazu dc08ed037f fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-13 13:55:57 +00:00
nagachika 145b721829 * ChangeLog: fix tyops.
* doc/ChangeLog-1.9.3: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-13 13:11:41 +00:00
ryan f078ced91f updated news for minitest
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-11 09:56:55 +00:00
mrkn 0b2db1ab4c * doc/NEWS-1.9.3: describe the improvement of BigDecimal#power and
BigDecimal#**.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 15:40:07 +00:00
yugui a4f423f18b * docs/NEWS-1.9.3: moved from NEWS.
* docs/ChangeLog-1.9.3: merged ChangeLog for 1.9.3.

* NEWS: NEWS for 1.9.4 that describes changes since 1.9.3

* ChangeLog: new ChangeLog for 1.9.4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-10 14:54:03 +00:00
kosaki 58aa09cb14 * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4843] [ruby-dev:43639]
* doc/irb/irb.rd.ja: ditto.
* doc/ChangeLog-YARV: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07 11:52:41 +00:00
nobu 3a47cf3395 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 11:55:52 +00:00
kazu eb70987c2d doc/NEWS-1.9.2: add File#size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-01 13:17:05 +00:00
knu e2c1e2969d Mention the command search path issue on Windows. Pointed out by
NAJIMA Hiroki in [ruby-dev:42276].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-22 04:13:03 +00:00
akr 3121057559 * ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-31 12:11:02 +00:00
nobu e26c0d6d82 * NEWS: moved to doc/NEWS-1.9.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 01:48:58 +00:00
nobu 0d5b1718c2 * doc/ChangeLog-1.9.3: mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 21:03:42 +00:00
nobu 4be11cde44 * ChangeLog: flushed. [ruby-dev:42050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 20:58:28 +00:00
knu e53a46a58b Mention the json library. (Pointed out by yhara)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-14 10:04:02 +00:00
nobu 80684e9c09 * ext/pty: moved documents and samples to the appropriate places.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 08:25:12 +00:00