Skip to content

Commit

Permalink
Update array.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Stan Lo <stan001212@gmail.com>
  • Loading branch information
alexcrocha and st0012 authored Dec 13, 2024
1 parent 34fd078 commit 949fa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def last n = unspecified = true
# Example:
#
# a = [:foo, :bar, :baz]
# a.fetch_values(1, 0, 42, 777) {|index| index.to_s }
# a.fetch_values(1, 0, 42, 777) { |index| index.to_s }
# # => [:bar, :foo, "42", "777"]
#
# Related: see {Methods for Fetching}[rdoc-ref:Array@Methods+for+Fetching].
Expand Down

0 comments on commit 949fa22

Please sign in to comment.