Project

General

Profile

Actions

Feature #13933

closed

Add Range#empty?

Added by ted (Ted Johansson) about 7 years ago. Updated about 1 year ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:82948]

Description

Range already responds to #size. It would be nice if it also responded to predicate #empty? :-)


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #19839: Need a method to check if two ranges overlapClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0