From 4b0ba5988c7fed8641c3f9ecd8216a53b8f03047 Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Wed, 6 Jul 2022 17:16:23 -0400 Subject: [PATCH] Update guides/custom-enumerator.md Co-authored-by: Sander Verdonschot --- guides/custom-enumerator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/custom-enumerator.md b/guides/custom-enumerator.md index 92c758fe..1ff7914c 100644 --- a/guides/custom-enumerator.md +++ b/guides/custom-enumerator.md @@ -98,7 +98,7 @@ To ensure cursors are not corrupted, they should only be composed of classes Rub - `FalseClass` (`false`) - `NilClass` (`nil`) -For example, if a `Time` object is given as a cursor (perhaps we are iterating over API resources by creation time), it will be serialized by the job adapter, which typically calls `to_s`, meaning upon resumption the job will unexpectedly get receive a String as cursor instead of the original `Time` object. +For example, if a `Time` object is given as a cursor (perhaps we are iterating over API resources by creation time), it will be serialized by the job adapter, which typically calls `to_s`, meaning upon resumption the job will unexpectedly receive a String as cursor instead of the original `Time` object. ```ruby require "time"