From: sawadatsuyoshi@... Date: 2019-01-11T04:44:49+00:00 Subject: [ruby-core:91010] [Ruby trunk Bug#15523] `Range#begin` and `Range#end` Issue #15523 has been reported by sawa (Tsuyoshi Sawada). ---------------------------------------- Bug #15523: `Range#begin` and `Range#end` https://bugs.ruby-lang.org/issues/15523 * Author: sawa (Tsuyoshi Sawada) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- My understanding is that `Range#begin` and `Range#end`'s features are just subsets of `Range#first` and `Range#last`, respectively. And since they are slightly confusing with the keywords `begin` and `end`, I propose to either: * Let `Range#begin` and `Range#end` be aliases of `Range#first` and `Range#last`, respectively, or * Let `Range#begin` and `Range#end` be obsolete after a migration path of waning against their use and recommending the use of `Range#first` and `Range#last` instead. -- https://bugs.ruby-lang.org/ Unsubscribe: