General

Profile

janosch-x (Janosch Müller)

  • Registered on: 04/30/2017
  • Last connection: 04/28/2019

Issues

Activity

04/28/2019

02:29 PM Ruby trunk Bug #15807: Range#minmax is slow and never returns for endless ranges
mame (Yusuke Endoh) wrote:
> `Range#max` is not consistent with `Enumerable#minmax`.
Thanks for pointing this out...
janosch-x (Janosch Müller)
12:14 PM Ruby trunk Bug #15807 (Open): Range#minmax is slow and never returns for endless ranges
current situation:
- `(1..).minmax` runs forever
- `(1..).max` raises "cannot get the maximum of endless range"
...
janosch-x (Janosch Müller)

05/31/2018

01:01 PM Ruby trunk Feature #14799: Startless range
Rails devs could also make use of this, e.g. in [queries](http://guides.rubyonrails.org/active_record_querying.html#r... janosch-x (Janosch Müller)

05/30/2018

08:24 PM Ruby trunk Feature #14546: Hash#delete!
duerst (Martin Dürst) wrote:
> it would be a bad idea to use a bang method in a context (such as delete) where it ca...
janosch-x (Janosch Müller)

10/05/2017

08:01 AM Ruby trunk Bug #13976: SyntaxError if curly brace block follows args without parentheses, introduced in 2.4.2
sorry, duplicate of https://bugs.ruby-lang.org/issues/13939
feel free to delete this ticket.
janosch-x (Janosch Müller)
07:58 AM Ruby trunk Bug #13976 (Closed): SyntaxError if curly brace block follows args without parentheses, introduced in 2.4.2
```ruby
# ruby 2.4.1
p :bar do end # => :bar
p :bar {} # => :bar
# ruby 2.4.2
p :bar do end # => :bar
p :bar ...
janosch-x (Janosch Müller)

04/30/2017

07:23 PM Ruby trunk Feature #10095: Object#as
The weakness of "as" is that it is not a verb. This puts it at odds with the majority of core methods and makes it co... janosch-x (Janosch Müller)

Also available in: Atom