5be558a802
- Edits to the intro paragraph for shorter and clearer sentences. - Updated the `.length` description to refer to it as *the* array rather than *your*, to be consistent with other descriptions. - For `.first` and `.last`, I updated the wording from "accesses" to "returns". - Added clarification that `.pop` returns the removed element (since `.shift` also mentions this). - Updated the code snippet for `.select`, which mistakenly implied that the original array is modified - Added clarification that `.include?` returns `true` if the array includes the element. - The section for `.flatten` was stuck in the code snippet for `include?`, I've fixed that. - Added clarification that `.uniq` does not modify the original array. - Updated the `.uniq` description by cutting extra wording. `.uniq` doesn't take an array, it's called on an array. |
||
---|---|---|
.. | ||
classes-and-objects | ||
common-array-methods | ||
managing-ruby-versions | ||
rubocop | ||
ruby-arrays | ||
ruby-comments | ||
ruby-conditionals | ||
ruby-for-loop | ||
ruby-hash | ||
ruby-hashes | ||
ruby-methods | ||
ruby-numbers-methods | ||
ruby-numbers-operations | ||
ruby-on-rails | ||
ruby-puts | ||
ruby-string-interpolation | ||
ruby-string-methods | ||
ruby-string-operations | ||
ruby-symbols | ||
true-false-nil | ||
index.md |