freeCodeCamp/guide/english/ruby
Jon Kulton 5be558a802 Improvements to Common Array Methods Ruby guide (#24705)
- 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.
2018-12-13 06:27:31 -05:00
..
classes-and-objects Corrected 'paintjob', added text (#25367) 2018-11-20 15:04:57 +05:30
common-array-methods Improvements to Common Array Methods Ruby guide (#24705) 2018-12-13 06:27:31 -05:00
managing-ruby-versions fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
rubocop fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-arrays Add alternate way of creating array (#25379) 2018-11-20 09:39:50 +05:30
ruby-comments fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-conditionals Add example of Ternary Operator (#25553) 2018-12-02 00:11:31 +05:30
ruby-for-loop added emphasis on 'for' and fixed typo (#25695) 2018-11-24 23:21:51 -08:00
ruby-hash fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-hashes fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-methods fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-numbers-methods Added to_f and abs methods (#27142) 2018-11-25 19:08:06 -08:00
ruby-numbers-operations fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-on-rails Fixes 2 typos (#20794) 2018-11-02 21:34:06 +07:00
ruby-puts crete ruby-puts (#21524) 2018-11-15 01:18:55 +09:00
ruby-string-interpolation fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-string-methods fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-string-operations fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
ruby-symbols fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
true-false-nil fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
index.md Fixed grammatical errors on line 19 (#34045) 2018-12-05 14:59:06 -08:00