General

Profile

Samuel Williams

Issues

Activity

12/22/2016

01:40 AM Ruby trunk Feature #12902: How about Enumerable#sum uses initial value rather than 0 as default?
Just to add, this breaks code which uses facets.
https://github.com/rubyworks/facets/issues/247
The method sign...

11/15/2016

05:55 AM Ruby trunk Feature #12931: Add support for Binding#instance_eval
Nobuyoshi Nakada wrote:
> Since local variables and constants depend on the context, it won't be able to be "cached,...

11/14/2016

03:36 AM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Nobu, thanks for that clarification. I was not aware of that.
If that's the only issue holding back this feature, ...
03:30 AM Ruby trunk Feature #12931 (Rejected): Add support for Binding#instance_eval
Many people would probably like to use `binding.instance_eval` when executing templates. The reason for this is becau...

11/07/2016

09:41 AM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> Why do you use Kernel::Boolean and not just Boolean?
Some gems define
~~~ruby
class Boolean
end
class Tr...

11/04/2016

12:37 PM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
Matthew, I ask you to find one of those examples that would break by introducing the following to core Ruby:
~~~
...

11/03/2016

04:23 AM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> It seems specific to the context, and should be defined there.
Yeah but it's not. 2,080,658 instances of code on...

10/31/2016

11:08 PM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> It's a choice by that library author. They are not classes but methods, there can be `Boolean` method in the librar...
03:35 AM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
It's also interesting to note, so many people are working around this:
Searching on github for:
"is_a? TrueClas...
01:14 AM Ruby trunk Feature #12515: Create "Boolean" superclass of TrueClass / FalseClass
> But that's how things already are, and the market deals with it just fine.
Well, I know you are being metaphori...

Also available in: Atom