mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
doc/syntax/refinements.rdoc: fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c66f5601d7
commit
80e852d8a1
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ This behavior may be changed in the future.
|
||||||
|
|
||||||
== Refinement inheritance by Module#include
|
== Refinement inheritance by Module#include
|
||||||
|
|
||||||
When a module X is included into a module Y, Y inherits refinments from X.
|
When a module X is included into a module Y, Y inherits refinements from X.
|
||||||
|
|
||||||
For exmaple, C inherits refinements from A and B in the following code:
|
For exmaple, C inherits refinements from A and B in the following code:
|
||||||
|
|
||||||
|
@ -277,7 +277,7 @@ For exmaple, C inherits refinements from A and B in the following code:
|
||||||
using C
|
using C
|
||||||
# Refinements in A and B are activated here.
|
# Refinements in A and B are activated here.
|
||||||
|
|
||||||
Refinements in descendents have higher precedence than those of ancestors.
|
Refinements in descendants have higher precedence than those of ancestors.
|
||||||
|
|
||||||
== Further Reading
|
== Further Reading
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue