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