Jeremy Evans 39eadca76b Add FrozenError#receiver
Similar to NameError#receiver, this returns the object on which
the modification was attempted.  This is useful as it can pinpoint
exactly what is frozen.  In many cases when a FrozenError is
raised, you cannot determine from the context which object is
frozen that you attempted to modify.

Users of the current rb_error_frozen C function will have to switch
to using rb_error_frozen_object or the new rb_frozen_error_raise
in order to set the receiver of the FrozenError.

To allow the receiver to be set from Ruby, support an optional
second argument to FrozenError#initialize.

Implements [Feature #15751]
2019-05-26 11:09:21 -07:00
..
2019-05-10 22:00:22 +09:00
2019-04-15 02:05:03 +00:00
2019-05-04 23:32:13 +09:00
2019-05-23 00:07:16 -07:00
2019-05-26 11:03:57 -07:00
2019-02-23 03:43:58 +00:00
2019-02-13 04:24:59 +00:00
2019-03-30 12:35:13 +00:00
2019-05-24 23:38:40 +09:00
2018-11-11 11:58:38 +00:00
2019-01-25 06:35:04 +00:00
2019-05-26 11:09:21 -07:00
2018-12-18 05:09:08 +00:00
2019-01-08 07:45:04 +00:00
2019-04-09 23:03:40 +00:00