General

Profile

sawa (Tsuyoshi Sawada)

  • Registered on: 04/27/2011
  • Last connection: 01/11/2017

Issues

Activity

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 (Open): 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...
02:24 AM Ruby trunk Feature #13260 (Feedback): Kernel#Boolean
I think we have lots of occasions to receive a `true` or `false` value as a string input, and want to convert it to `...
02:17 AM Ruby trunk Feature #13259 (Open): Kernel#Date
I often see a piece of code like this:
```ruby
require "date"
begin
Date.strptime(some_string, some_format)...

Also available in: Atom