From: naruse@... Date: 2017-04-17T09:12:13+00:00 Subject: [ruby-core:80733] [Ruby trunk Feature#13303] String#any? as !String#empty? Issue #13303 has been updated by naruse (Yui NARUSE). I want to use this with &. Therefore String#empty? is not suitable. It must returns false if it is empty. Note that String#present? is also no good because ActiveSupport's present? returns false if its all content are space. ---------------------------------------- Feature #13303: String#any? as !String#empty? https://bugs.ruby-lang.org/issues/13303#change-64288 * 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: