[ruby-core:118516] [Ruby master Bug#20620] singleton_method undefined for module using "extend self"