Ruby 2.7 has added In Ruby, we use But
with this error, its not easy to simply identify or perform some cleanup operations on the frozen object We can also manually initialize and throw a
FrozenError#receiverWhen we try to modify frozen object, it gives
While initializing the
Usage
error.c View on GitHub |