[ruby-core:123886] [Ruby Bug#21374] FrozenError message is inconsistent when a singleton method is defined on a frozen object