[ruby-core:80309] [Ruby trunk Feature#13303] String#any? as !String#empty?

From: rr.rosas@...
Date: 2017-03-24 12:47:17 UTC
List: ruby-core #80309
Issue #13303 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).


Maybe String#filled? or String#filled_in? ?

----------------------------------------
Feature #13303: String#any? as !String#empty?
https://bugs.ruby-lang.org/issues/13303#change-63780

* 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: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next