From: 6ftdan@... Date: 2016-01-12T12:30:25+00:00 Subject: [ruby-core:72820] [Ruby trunk - Bug #11980] [Open] External methods are appearing as instance methods for String Issue #11980 has been reported by Daniel P. Clark. ---------------------------------------- Bug #11980: External methods are appearing as instance methods for String https://bugs.ruby-lang.org/issues/11980 * Author: Daniel P. Clark * Status: Open * Priority: Normal * Assignee: * ruby -v: 2.3.0 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- It appears we're having methods creep into the String scope. ~~~ruby "".methods.count # => 170 defined? "".a # => nil def a "foo" end "".methods.count # => 171 defined? "".a # => "method" "bar".a # => "foo" ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: