From 26831719948f4ab6fdffdfcd8083be23aa300436 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 20 Sep 2019 15:50:42 +0900 Subject: [DOC] DOT is not a part of a receiver [ci skip] [Feature #11297] [Feature #16123] --- doc/syntax/assignment.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 self.big_calculation. You can force a method call by using empty argument parentheses as shown above -or by using an explicit receiver like self.. Using an explicit +or by using an explicit receiver like self. Using an explicit receiver may raise a NameError if the method's visibility is not public or the receiver is the literal self. -- cgit v1.2.3