From: harurinn@163.com Date: 2018-09-22T18:14:13+00:00 Subject: [ruby-core:89129] [Ruby trunk Bug#15148] String::instance_methods size is different String#methods size after call pp method Issue #15148 has been reported by harurinn (t cl). ---------------------------------------- Bug #15148: String::instance_methods size is different String#methods size after call pp method https://bugs.ruby-lang.org/issues/15148 * Author: harurinn (t cl) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- I'm sorry, my English is poor.i'm a beginner ruby leaner.When I was just learning ruby, I noticed a strange problem. After called 'pp' method, the number of String instance objects became less, just like follows two pictures. ---Files-------------------------------- Screenshot from 2018-09-23 01-33-41.png (291 KB) Screenshot from 2018-09-23 01-33-52.png (488 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: