Commit Graph

21 Commits

Author SHA1 Message Date
Takashi Kokubun afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
tenderlove d95b13ead1 Update refinements docs
Co-Authored-By: Vladimir Dementyev <dementiev.vm@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 17:28:13 +00:00
stomar 014a9e0587 Small improvement in refinements docs
Move general statement about refinements of modules
from example to the top of the document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 21:14:38 +00:00
hsbt b0d1586fa7 [DOC] Refinements on modules are allowed
From: Leo Correa <lcorr005@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-30 07:08:53 +00:00
hsbt 9c650ee3a7 Fix typos.
* doc/contributors.rdoc: pathces -> patches.
 * doc/syntax/refinements.rdoc: exmaple -> example.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-10 14:13:06 +00:00
stomar 80e852d8a1 doc/syntax/refinements.rdoc: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-08 22:51:42 +00:00
shugo 476f9b6388 Specify refinement inheritance by Module#include.
[ruby-core:79880] [Bug #13271]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-03 08:35:44 +00:00
stomar 093aa9ae03 refinements.rdoc: improve docs
* doc/syntax/refinements.rdoc: [DOC] fix typos and grammar
  and remove superfluous "for the first time".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-11-07 20:04:58 +00:00
nobu 6dc924b606 refinements.rdoc: [DOC] improved [Fix GH-1659]
* doc/syntax/refinements.rdocrefinements.rdoc: grammatical
  correction and code highlighting improved

* doc/syntax/refinements.rdocrefinements.rdoc: Fixnum replaced
  with Integer and Integer with Numeric

Author:    Shiva Bhusal <shivabhusal@users.noreply.github.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-23 00:29:45 +00:00
kazu 07efce075b Use https instead of http in some URLs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-11 10:33:36 +00:00
hsbt 4f94cb43fc * doc/syntax/*.rdoc: separated modifier at sentence.
[ci skip][fix GH-1121] Patch by @clandry94

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18 03:39:49 +00:00
shugo 6df0853173 * doc/syntax/refinements.rdoc: remove outdated description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09 05:38:31 +00:00
shugo 46425732cf * doc/syntax/refinements.rdoc: update documentation to reflect
recent changes.
  [ci skip] [ruby-core:71466] [Misc #11681] Patch by James Adam

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-18 01:08:19 +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
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
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