Skip to content

Commit f3b3e4e

Browse files
authored
Merge pull request #283 from wasifhossain/patch-1
Fix typo in Array#after doc
2 parents cb56d0b + bd2b54f commit f3b3e4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/facets/array/before.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def before(value)
1919
self[(index(value).to_i - 1) % length]
2020
end
2121

22-
# Returns the value after the given value. The value before the last
22+
# Returns the value next to the given value. The value next to the last
2323
# is the first. Returns nil if the given value is not in the array.
2424
#
2525
# Examples

0 commit comments

Comments
 (0)