aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-20 15:50:42 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-20 16:43:39 +0900
commit26831719948f4ab6fdffdfcd8083be23aa300436 (patch)
tree1b81daf1c2c8d2ba54442eebbb343186840c0984 /doc
parent1de242de0fdec873eb5138ebdf09eaf0f6297967 (diff)
downloadruby-26831719948f4ab6fdffdfcd8083be23aa300436.tar.gz
[DOC] DOT is not a part of a receiver [ci skip]
[Feature #11297] [Feature #16123]
Diffstat (limited to 'doc')
-rw-r--r--doc/syntax/assignment.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/assignment.rdoc b/doc/syntax/assignment.rdoc
index 91d5d5bba4..a1806e4c48 100644
--- a/doc/syntax/assignment.rdoc
+++ b/doc/syntax/assignment.rdoc
@@ -92,7 +92,7 @@ Now any reference to +big_calculation+ is considered a local variable and will
be cached. To call the method, use <code>self.big_calculation</code>.
You can force a method call by using empty argument parentheses as shown above
-or by using an explicit receiver like <code>self.</code>. Using an explicit
+or by using an explicit receiver like <code>self</code>. Using an explicit
receiver may raise a NameError if the method's visibility is not public or the
receiver is the literal <code>self</code>.