Ruby Array - Index, Part 1

  • + 0 comments
        arr[index]
    
        arr[start_pos..end_pos]
    
        arr[start_pos...end_pos]
    
        arr[start_pos,length]