Actions
Feature #11917
openAdd Range#length as an alias for size
    Feature #11917:
    Add Range#length as an alias for size
  
Status:
Open
Assignee:
-
Target version:
-
Description
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
        
          
          Updated by avit (Andrew Vit) almost 10 years ago
          
          
        
        
      
      - File 0001-Make-Range-size-an-alias-of-Range-length.patch 0001-Make-Range-size-an-alias-of-Range-length.patch added
 
Attached patch for consideration. I made the aliases the same as Array.
Actions