General

Profile

woodruffw (William Woodruff)

Issues

Activity

05/13/2018

11:32 PM Ruby master Bug #14429: Overzealous escaping of + in Shellwords
Ping (and confirming that this is still the case on `2.5.1p57`). woodruffw (William Woodruff)

01/31/2018

08:09 PM Ruby master Bug #14429 (Closed): Overzealous escaping of + in Shellwords
The `Shellwords` module is currently a little too conservative: `+` isn't a token in Bourne sh[1], but `Shellwords` e... woodruffw (William Woodruff)

01/11/2017

05:06 AM CommonRuby Feature #13122: Special syntax for Hash#default_proc
Realized I forgot commas in the examples:
~~~ruby
my_hash = {
key: "value",
*: proc { |h, k| h[k] = "other ...
woodruffw (William Woodruff)
04:52 AM CommonRuby Feature #13122: Special syntax for Hash#default_proc
Nobuyoshi Nakada wrote:
> What about
>
> ```ruby
> MY_HASH = Hash.new {|h, k| "other value"}.update(
> key: "...
woodruffw (William Woodruff)
01:46 AM CommonRuby Feature #13122 (Rejected): Special syntax for Hash#default_proc
The current Hash#default_proc flow usually looks something like this:
~~~ ruby
my_hash = { key: "value" }
my_has...
woodruffw (William Woodruff)

Also available in: Atom