[DOC] DOT is not a part of a receiver [ci skip]

[Feature #11297] [Feature #16123]
This commit is contained in:
Nobuyoshi Nakada 2019-09-20 15:50:42 +09:00
Родитель 1de242de0f
Коммит 2683171994
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4BC7D6DF58D8DF60
2 изменённых файлов: 2 добавлений и 2 удалений

2
NEWS
Просмотреть файл

@ -77,7 +77,7 @@ sufficient information, see the ChangeLog file or Redmine
# .bar
.baz # => foo.baz
* Calling a private method with a literal <code>self.</code> as the receiver
* Calling a private method with a literal <code>self</code> as the receiver
is now allowed. [Feature #11297] [Feature #16123]
=== Core classes updates (outstanding ones only)

Просмотреть файл

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