General

Profile

sawa (Tsuyoshi Sawada)

  • Registered on: 04/27/2011
  • Last connection: 10/23/2019

Issues

Activity

Today

09:20 AM Ruby master Feature #16274: Transform hash keys by a hash
shyouhei (Shyouhei Urabe) wrote:
> Understand the motivation (maybe that of #slice can be separated into another req...
sawa (Tsuyoshi Sawada)
09:09 AM Ruby master Feature #16274 (Open): Transform hash keys by a hash
We have `Hash#transform_keys` and its bang version to change the keys of a hash, but that requires passing a block, w... sawa (Tsuyoshi Sawada)

10/09/2019

05:54 AM Ruby master Feature #16246 (Open): require with an optional block that is evaluated when requiring fails
I have some code like this:
```ruby
begin
require "foo"
rescue LoadError
puts "You need to install foo in ...
sawa (Tsuyoshi Sawada)

10/07/2019

11:34 PM Ruby master Feature #16244: Add a Time#before? and Time#after? method
Jeremy Evans is right about this.
But I agree that your second example
```
birthday > thirteen_years_ago
```
...
sawa (Tsuyoshi Sawada)

09/26/2019

03:52 PM Ruby master Feature #16183: Hash#with_default
Duplicate of #11761 sawa (Tsuyoshi Sawada)

09/25/2019

10:44 AM Ruby master Bug #16178: Numbered parameters: _1 should be the same as |x| and _0 should not exist
Dan0042 (Daniel DeLorme) wrote:
> How unfortunate that you managed to persuade matz :-(
Completely agreed.
sawa (Tsuyoshi Sawada)

09/16/2019

12:20 PM Ruby master Feature #7639: More freedom for location of comments
It looks like this feature has been realized by https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisio... sawa (Tsuyoshi Sawada)

09/13/2019

08:17 AM Ruby master Feature #16166 (Open): Remove exceptional treatment of *foo when it is the sole block parameter
In the parameter signature of a code block for a method that is not involved in method definition or creation of lamb... sawa (Tsuyoshi Sawada)

09/12/2019

03:26 AM Ruby master Bug #16164: ENV.each with block returns ENV object itself, not Hash
That is a documentation bug. sawa (Tsuyoshi Sawada)

09/08/2019

10:52 AM Ruby master Feature #16150: Add a way to request a frozen string from to_s
For methods that convert object to a string, we already have three:
* `to_s`
* `to_str`
* `inspect`
Adding ye...
sawa (Tsuyoshi Sawada)

Also available in: Atom