We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb56d0b + bd2b54f commit f3b3e4eCopy full SHA for f3b3e4e
1 file changed
lib/core/facets/array/before.rb
@@ -19,7 +19,7 @@ def before(value)
19
self[(index(value).to_i - 1) % length]
20
end
21
22
- # Returns the value after the given value. The value before the last
+ # Returns the value next to the given value. The value next to the last
23
# is the first. Returns nil if the given value is not in the array.
24
#
25
# Examples
0 commit comments