From: ruby-core@... Date: 2017-09-24T14:33:12+00:00 Subject: [ruby-core:82957] [Ruby trunk Feature#13933] Add Range#empty? Issue #13933 has been updated by marcandre (Marc-Andre Lafortune). Note that `Range#size` currently returns `nil` for ranges of string, so it's not clear what `empty?` would return for ranges of strings. ---------------------------------------- Feature #13933: Add Range#empty? https://bugs.ruby-lang.org/issues/13933#change-66859 * Author: ted (Ted Johansson) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Range already responds to #size. It would be nice if it also responded to predicate #empty? :-) -- https://bugs.ruby-lang.org/ Unsubscribe: