diff options
author | Victor Shepelev <[email protected]> | 2020-12-21 02:32:30 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-21 09:32:30 +0900 |
commit | 5253b9579a129f66a768dae24bd50a95bab02841 (patch) | |
tree | 289b20b4430e3368a9047a94f2e829679b013c02 /enumerator.c | |
parent | 6be61ab264c98c96e26b5d3398cf80b49197ba29 (diff) |
Document usage of ArithmeticSequence in Array#slice, and add to NEWS (#3952)
Notes
Notes:
Merged-By: mrkn <[email protected]>
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/enumerator.c b/enumerator.c index 68cfc2bcf7..fe5f054c74 100644 --- a/enumerator.c +++ b/enumerator.c @@ -3333,6 +3333,9 @@ enumerator_plus(VALUE obj, VALUE eobj) * that is a representation of sequences of numbers with common difference. * Instances of this class can be generated by the Range#step and Numeric#step * methods. + * + * The class can be used for slicing Array (see Array#slice) or custom + * collections. */ VALUE |