diff --git a/error.c b/error.c index a61c023154..7ef252f395 100644 --- a/error.c +++ b/error.c @@ -1411,7 +1411,7 @@ exit_success_p(VALUE exc) /* * call-seq: - * FrozenError.new(msg=nil, receiver=nil) -> name_error + * FrozenError.new(msg=nil, receiver=nil) -> frozen_error * * Construct a new FrozenError exception. If given the receiver * parameter may subsequently be examined using the FrozenError#receiver