diff options
author | zverok <zverok.offline@gmail.com> | 2019-12-21 22:21:20 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-22 23:17:39 +0900 |
commit | d78fcfb7ab351fd4861e42985db34e9bda3509a7 (patch) | |
tree | b3e0250b49135bc77ef1e5ec6d83b267216280eb | |
parent | e568bb5649a93c60aaa51c1e5308054079815bcc (diff) |
Fix FrozenError#receiver and #initialize docs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2768
-rw-r--r-- | error.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1482,7 +1482,7 @@ err_init_recv(VALUE exc, VALUE recv) * method. * * a = [].freeze - * raise FrozenError.new("can't modify frozen array", a) + * raise FrozenError.new("can't modify frozen array", receiver: a) */ static VALUE @@ -1500,6 +1500,7 @@ frozen_err_initialize(int argc, VALUE *argv, VALUE self) } /* + * Document-method: FrozenError#receiver * call-seq: * frozen_error.receiver -> object * |