From: andrew@... Date: 2016-01-30T07:01:40+00:00 Subject: [ruby-core:73598] [Ruby trunk - Feature #11917] Add Range#length as an alias for size Issue #11917 has been updated by Andrew Vit. File 0001-Make-Range-size-an-alias-of-Range-length.patch added Attached patch for consideration. I made the aliases the same as Array. ---------------------------------------- Feature #11917: Add Range#length as an alias for size https://bugs.ruby-lang.org/issues/11917#change-56794 * Author: Doug Orleans * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I noticed that `Range` has a `size` method but no `length`, unlike most other `Enumerable` classes. I propose adding `Range#length` as an alias for `Range#size`. Any reason not to? ---Files-------------------------------- 0001-Make-Range-size-an-alias-of-Range-length.patch (1.34 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: