Project

General

Profile

Search

Results (28)

Apply issues filter

Ruby master Feature #20469 (Third Party's Issue): Add a JSON addition for Enumerator::ArithmeticSequence
There's a JSON addition for `Range` but one wasn't added for `Enumerator::ArithmeticSequence` when it was introduced. This little PR adds a JSON addition for ArithmeticSequence for parity with a normal Range. https://gith ... red for inclusion now that it's a core class. 05/03/2024 07:11 PM
Ruby master Feature #20080 (Feedback): Introduce #bounds method on Range
Followup Reference: #20027 **Update 1/11/ ... [1, 42] (42..1).minmax #=> [nil, nil] ``` 12/22/2023 04:26 PM
Ruby master Feature #19859 (Closed): Start & Finish, Begin & End
In English "start" is paired with "finish" an ... ring#begin_with?` and `String#finish_with?` 09/01/2023 02:19 AM
Ruby master Bug #19231 (Open): Integer#step and Float::IN ... ehaviour when called with and without a block
The initial issue was reported here https://g ... ssue https://bugs.ruby-lang.org/issues/15518. 12/13/2022 03:17 PM
Ruby master Feature #18368 (Closed): Range#step semantics for non-Numeric ranges
I am sorry if the question had already been d ... ill be needed to code outside of the `Range`. 11/29/2021 03:30 PM
Ruby master Bug #18247 (Closed): weird results for `Array ... Array#[]` with argument of type `Enumerator::ArithmeticSequence`
There are weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`. Particularly most results with negative ... thod in https://github.com/ruby/spec/pull/857 10/08/2021 03:38 PM
Ruby master Feature #17279 (Assigned): Allow a negative step in Range#step with a block
`Range#step` prohibits a negative step when a ... lock. In this case, `Range#step` creates an ArithmeticSequence, and `ArithmeticSequence#each` can iterate with a negative step. ` ... t may be better to permit it for consistency. 10/22/2020 02:23 AM
Ruby master Bug #17218 (Closed): Range#step sometimes behaves unexpectedly with Rational endpoints and increment
I am using the latest stable version. The sam ... win19] ``` When creating an `Enumerator::ArithmeticSequence` with Rational endpoints and increment, some ... (s) puts arith_seq.class # -> Enumerator::ArithmeticSequence # Things look OK puts arith_seq.first # ... > 3 ``` The issue is in the `Enumerator::ArithmeticSequence` instance we get when we call `Range#step` w ... al` endpoints and given a rational step size. 10/06/2020 03:46 PM
Ruby master Feature #17195 (Rejected): Freeze Enumerator::ArithmeticSequence objects
Now, all Ranges are frozen (#15504). Enumerator::ArithmeticSequence is very similar to Range, just with an extra ... ittle use. So, should we make Enumerator::ArithmeticSequence frozen too? 09/26/2020 01:20 PM
Ruby master Misc #17138 (Closed): DevelopersMeeting20200925Japan
# The next dev meeting **Date: 2020/09/25 ... discussion of the ticket in a limited time. 09/01/2020 03:48 PM
Ruby master Misc #17041 (Closed): DevelopersMeeting20200831Japan
# The next dev meeting **Date: 2020/08/26 ... discussion of the ticket in a limited time. 07/22/2020 05:55 AM
Ruby master Misc #17019 (Closed): DevelopersMeeting20200720Japan
# The next dev meeting **Date: 2020/07/20 ... discussion of the ticket in a limited time. 07/08/2020 08:45 AM
Ruby master Misc #16933 (Closed): DevelopersMeeting20200618Japan
# The next dev meeting **Date: 2020/06/18 ... discussion of the ticket in a limited time. 06/04/2020 01:25 AM
Ruby master Feature #16838 (Open): Enumerator::ArithmeticSequence missing allocator for #clone and #dup
In Ruby 2.5, with an Enumerator: ``` ruby ... tor ``` In Ruby 2.6, with an Enumerator::ArithmeticSequence: ``` ruby 1.step.clone #!> TypeError (allocator undefined for Enumerator::ArithmeticSequence) ``` I've gotten around it in 2.6 and 2.7 by checking if an enum is an ArithmeticSequence and reconstituting a new one if so: ``` r ... sn't sure if it was intentional. Thank you! 05/07/2020 04:12 PM
Ruby master Feature #16812 (Closed): Allow slicing arrays with ArithmeticSequence
I believe when concepts of ArithmeticSequence and `Range#%` were introduced, one of the ma ... easoning is as follows: 1. As stated above, ArithmeticSequence and `Range#%` seem to have been introduced e ... gy, to "defend" the proposal, so I would not. 04/23/2020 03:32 PM
Ruby master Misc #16775 (Closed): DevelopersMeeting20200514Japan
# The next dev meeting **Date: 2020/05/14 ... discussion of the ticket in a limited time. 04/10/2020 02:47 PM
Ruby master Bug #16612 (Closed): Enumerator::ArithmeticSequence#last with float range produces incorrect value
**Steps to reproduce** ``` shell % ruby - ... observed in versions `2.7.0` and `2.6.5`. 02/06/2020 07:26 PM
Ruby master Feature #16350 (Assigned): ArithmeticSequence#member? can result in infinite loop
I'm not sure if this is a bug or a feature, i ... e know what I can improve in this report! ArithmeticSequence#member? enumerates through the sequence in o ... step.member?(0)` to return `false`. Since ArithmeticSequences are much more constrained than regular Enum ... t me know if I should keep looking into this! 11/16/2019 05:20 PM
Ruby master Feature #15804 (Open): A generic method to resolve the indexing on a sequence
Currently, the implementation of begin/end-le ... want to support indexing with a `Enumerator::ArithmeticSequence` or even more elaborate ways. I would lik ... ead of duplicating that logic in many places. 04/27/2019 08:50 PM
Ruby master Bug #15755 (Closed): [BUG] Unnormalized Fixnum value on Enumerator::ArithmeticSequence#hash.to_s on Windows
To reproduce: ``` ruby -e "0.step.hash.to ... tps://www.ruby-lang.org/bugreport.html ``` 04/08/2019 01:58 AM
Ruby master Feature #15588 (Open): String#each_chunk and #chunks
String#each_chunk iterates chunks of specifie ... 01", "20190102", "20190103", "20190104"] ``` 02/06/2019 01:35 AM
Ruby master Feature #15573 (Closed): Permit zero step in Numeric#step and Range#step
Numeric#step disallows zero in the 2nd argume ... `step' ArgumentError (step can't be 0) ``` 01/30/2019 03:32 AM
Ruby master Feature #15523 (Open): Let `Range#begin` and `Range#end` be aliases of Range#first and Range#last
My understanding is that `Range#begin` and `R ... f `Range#first` and `Range#last` instead. 01/11/2019 04:44 AM
Ruby master Feature #15504 (Closed): Freeze all Range objects
# Abstract Range is currently non-frozen. ... e (2) and (3) are crucial. Thanks, Koichi 01/04/2019 03:12 AM
Ruby master Feature #15092 (Rejected): Provide step count in Range constructor
I would like to propose making changes to t ... ges of values at steps without much worry. 09/09/2018 02:28 AM
Ruby master Feature #14697 (Closed): Introducing Range#% as an alias to Range#step
In #13904, `Enumerator::ArithmeticSequence` has been accepted for the representation of ... notation is already introduced numo-narray. 04/19/2018 06:31 AM
Ruby master Feature #14394 (Assigned): Class.descendants
There have been numerous implementations of t ... possible to add a `descendants` class method? 01/24/2018 07:07 PM
Ruby master Feature #13904 (Closed): getter for original information of Enumerator
At https://gitter.im/red-data-tools/ja?at=59b ... nel#method`, so use `#method_name` instead. 09/15/2017 03:27 PM
    (1-28/28)