Skip to content

Commit

Permalink
ruby course, nested collections lesson: fix grammatical error (#29405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezy-d4 authored Feb 13, 2025
1 parent dfafd66 commit 83f1dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/basic_ruby/nested_collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Changing the value of the first element in the first nested array does not cause

### Adding and removing elements

You can add another element to the end of nested array using the `#push` method or the shovel operator `<<`. If you want to add an element to a specific nested array, you will need to specify the index of the nested array.
You can add another element to the end of a nested array using the `#push` method or the shovel operator `<<`. If you want to add an element to a specific nested array, you will need to specify the index of the nested array.

```ruby
test_scores << [100, 99, 98, 97]
Expand Down

0 comments on commit 83f1dd4

Please sign in to comment.