Skip to content

Commit 4b0ba59

Browse files
sambostockMangara
andauthored
Update guides/custom-enumerator.md
Co-authored-by: Sander Verdonschot <[email protected]>
1 parent 33112f0 commit 4b0ba59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/custom-enumerator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To ensure cursors are not corrupted, they should only be composed of classes Rub
9898
- `FalseClass` (`false`)
9999
- `NilClass` (`nil`)
100100

101-
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.
101+
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.
102102

103103
```ruby
104104
require "time"

0 commit comments

Comments
 (0)