From bd2b54f74ebc3a12ef05347cf12ce267c1f8a7cc Mon Sep 17 00:00:00 2001 From: Wasif Hossain Date: Tue, 18 Dec 2018 02:19:59 +0600 Subject: [PATCH] Fix typo --- lib/core/facets/array/before.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/facets/array/before.rb b/lib/core/facets/array/before.rb index 5b41cdac..bf12486f 100644 --- a/lib/core/facets/array/before.rb +++ b/lib/core/facets/array/before.rb @@ -19,7 +19,7 @@ def before(value) self[(index(value).to_i - 1) % length] end - # 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 # is the first. Returns nil if the given value is not in the array. # # Examples