From: shyouhei@... Date: 2017-04-18T06:04:35+00:00 Subject: [ruby-core:80760] [Ruby trunk Feature#13303] String#any? as !String#empty? Issue #13303 has been updated by shyouhei (Shyouhei Urabe). possible name of this method: - #present? is NG because that conflicts with ActiveSupport (AS's #present? have different semantics than what is discussed here). - #empty? is NG because the OP wants to use it in conjunction with &. - #nonempty? or #non_empty? - #notempty? or #not_empty? - There has never been a core method that starts with "not-" Any other ideas? ---------------------------------------- Feature #13303: String#any? as !String#empty? https://bugs.ruby-lang.org/issues/13303#change-64316 * Author: naruse (Yui NARUSE) * Status: Feedback * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- Once I proposed "some container#nonempty?" on #12075, and understand there's Array#any?. Today I found String doesn't have such method. -- https://bugs.ruby-lang.org/ Unsubscribe: