[ruby-core:113903] [Ruby master Bug#19731] Can’t call an instance method inside an Endless method definition