General

Profile

marcandre (Marc-Andre Lafortune)

Issues

Projects

Activity

03/16/2017

06:46 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Martin is exactly right. See https://en.wikipedia.org/wiki/Vacuous_truth

03/14/2017

08:11 PM Ruby trunk Feature #13208 (Closed): Vector.zero(n) and vector.zero?
08:11 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Thanks for the patch.
Committed.
PS: I allowed `Vector.zero(0)`.
08:06 PM Ruby trunk Feature #5481: Gemifying Ruby standard library
I'd like to gemify matrix & ostruct, but it's not clear to me what needs to be done besides creating the gemspec and ...

02/12/2017

10:58 PM Ruby trunk Feature #13208: Vector.zero(n) and vector.zero?
Looks good.
I think the short description is probably good enough. The example makes it clear if someone has doubt...

02/11/2017

02:03 AM Ruby trunk Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugr...

02/03/2017

06:27 PM Ruby trunk Bug #13169: Fix OpenStruct#each_pair return value
Thank you for the great patch :-)
06:25 PM Ruby trunk Bug #13169 (Closed): Fix OpenStruct#each_pair return value
Applied in changeset r57515.
----------
lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Sto...

01/03/2017

08:44 PM Ruby trunk Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
While `:itself.to_proc` works, I still can't see when one would need it, and it's much easier and clearer to check fo...

12/28/2016

07:54 PM Ruby trunk Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
1. This would break a lot of code. As an example, I found 13 instances of `when true/false` in Rails' code that would...

Also available in: Atom