[ruby-core:125558] [Ruby Bug#22076] defined? returns nil for protected methods defined in a module even when callable