Search
Results (28)
- 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.
- Ruby master Feature #20080 (Feedback): Introduce #bounds method on Range
- Followup Reference: #20027 **Update 1/11/ ... [1, 42] (42..1).minmax #=> [nil, nil] ```
- Ruby master Feature #19859 (Closed): Start & Finish, Begin & End
- In English "start" is paired with "finish" an ... ring#begin_with?` and `String#finish_with?`
- 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.
- 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`.
- 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
- 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.
- 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.
- 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?
- Ruby master Misc #17138 (Closed): DevelopersMeeting20200925Japan
- # The next dev meeting **Date: 2020/09/25 ... discussion of the ticket in a limited time.
- Ruby master Misc #17041 (Closed): DevelopersMeeting20200831Japan
- # The next dev meeting **Date: 2020/08/26 ... discussion of the ticket in a limited time.
- Ruby master Misc #17019 (Closed): DevelopersMeeting20200720Japan
- # The next dev meeting **Date: 2020/07/20 ... discussion of the ticket in a limited time.
- Ruby master Misc #16933 (Closed): DevelopersMeeting20200618Japan
- # The next dev meeting **Date: 2020/06/18 ... discussion of the ticket in a limited time.
- 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!
- 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.
- Ruby master Misc #16775 (Closed): DevelopersMeeting20200514Japan
- # The next dev meeting **Date: 2020/05/14 ... discussion of the ticket in a limited time.
- 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`.
- 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!
- 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.
- 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 ```
- Ruby master Feature #15588 (Open): String#each_chunk and #chunks
- String#each_chunk iterates chunks of specifie ... 01", "20190102", "20190103", "20190104"] ```
- 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) ```
- 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.
- Ruby master Feature #15504 (Closed): Freeze all Range objects
- # Abstract Range is currently non-frozen. ... e (2) and (3) are crucial. Thanks, Koichi
- 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.
- 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.
- Ruby master Feature #14394 (Assigned): Class.descendants
- There have been numerous implementations of t ... possible to add a `descendants` class method?
- 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.