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
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
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
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
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
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
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
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
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