General

Profile

sawa (Tsuyoshi Sawada)

  • Registered on: 04/27/2011
  • Last connection: 04/03/2017

Issues

Activity

06/09/2017

10:13 AM Ruby trunk Feature #13645: Syntactic sugar for indexing when using the safe navigation operator
Duplicate of https://bugs.ruby-lang.org/issues/11813

04/03/2017

01:25 AM Ruby trunk Feature #13395: Add a method to check for not nil
Many methods that take a block come in positive-negative pairs, unlike `count`. I am not sure how frequent the use ca...

03/14/2017

06:40 AM Ruby trunk Feature #13314: dig=
Was this syntactically not allowed? If so, sorry.
06:38 AM Ruby trunk Feature #13314 (Open): dig=
We have `Hash#dig`, and when we want to assign a key-value at a deep level, it is tempting to do:
```ruby
hash.di...

03/13/2017

04:28 AM Ruby trunk Feature #13309 (Rejected): Locale paramter for Integer(), Float(), Rational()
Matz' comment to my proposal on `Kernel#Boolean()` (https://bugs.ruby-lang.org/issues/13260) led me to the idea of in...

03/09/2017

05:05 AM Ruby trunk Feature #13290: A method to use a hash like in a case construction
Yusuke Endoh wrote:
> ~~~~
> h.find {|a,| a === "barbar" }.last #=> "BAR"
> ~~~~
>
> This is good enough to me....

03/08/2017

06:57 AM Ruby trunk Feature #13290 (Feedback): A method to use a hash like in a case construction
We often want to translate a hash into a case construction and back. For example, suppose we have a case construction...

02/28/2017

12:09 PM Ruby trunk Feature #13259: Kernel#Date
Marcus Stollsteimer wrote:
> Note also the ongoing discussion about the future of Date (#13072).
Thanks for the n...
06:20 AM Ruby trunk Feature #13260: Kernel#Boolean
I agree that the proposal was vague. Instead of using `strict`, perhaps we can pass a string or strings expressing th...
02:26 AM Ruby trunk Feature #13260: Kernel#Boolean
Please note that this proposal is distinct from any proposal to introduce the `Boolean` class into Ruby. In think the...

Also available in: Atom