General

Profile

avit (Andrew Vit)

  • Email: andrew@avit.ca
  • Registered on: 09/28/2013
  • Last connection: 07/27/2018

Issues

Activity

05/31/2018

11:08 PM Ruby trunk Feature #14594: Rethink yield_self's name
matz (Yukihiro Matsumoto) wrote:
> If you really wanted a non-unwrapping method for promises, use `yield_self`.
I...

05/29/2018

05:49 AM Ruby trunk Bug #14793: Hash returned from CGI.parse has [] as default value
My mistake, it looks like all CGI values are always returned as arrays:
~~~
CGI.parse("x=y")
#=> {"x"=>["y"]}
~...
05:39 AM Ruby trunk Bug #14793 (Closed): Hash returned from CGI.parse has [] as default value
Is there a valid reason for this behaviour? It looks like a bug to me:
~~~
require 'cgi'
params = CGI.parse(""...

02/25/2018

07:51 PM Ruby trunk Feature #14550: Support keyword arguments with Date#step
If adding keyword options, would it make sense to add the possibility to enumerate by `>>` for whole months instead o...

12/21/2017

06:15 AM Ruby trunk Feature #12318: Returning the evaluated value of a block
This is now implemented as `yield_self`
Close please?

11/19/2017

06:52 PM Ruby trunk Feature #14112: Follow style conventions for Ruby code
Some elements of ruby style are hard to check statically because they encode semantics.
For example, I prefer to w...

10/20/2017

12:56 AM Ruby trunk Feature #14022: String#surround
An alternate (short but cryptic) way:
```
str = "one\ntwo"
str.gsub(/^.*/m, '<\0>')
```
- gsub! can do it de...

10/06/2017

10:35 AM Ruby trunk Feature #5964: Make Symbols an Alternate Syntax for Strings
My only point was that symbols are not meant to be operated on the same as strings, because they do serve different p...

10/05/2017

08:00 PM Ruby trunk Feature #5964: Make Symbols an Alternate Syntax for Strings
sheerun (Adam Stankiewicz) wrote:
> Did it change since ruby got frozen string? Is there much difference between fro...

05/26/2017

04:52 PM Ruby trunk Feature #13600: yield_self should be chainable/composable
In case the description is unclear, the goal is to support something like this:
```
pipeline = (&:upcase).yield_s...

Also available in: Atom