Damien Robert

Activity

Reported issues: 4

02/21/2015

09:41 PM Ruby trunk Feature #10883 (Open): Passing a block to itself
In the discussion of [itself](https://bugs.ruby-lang.org/issues/6373)
some people proposed that passing a block to i...
07:56 PM Ruby trunk Feature #10879 (Open): UnboundMethod#to_proc
Since unbound methods from modules can now be bound to any object, I use them a lot.
I think it would be very natura...

01/12/2015

12:44 PM Ruby trunk Bug #10708: In a function call, double splat of an empty hash still calls the function with an ar...
@Kolja: I wasn't aware of your post on stackoverflow when I posted this bug report, but this is indeed a nice coincid...

01/07/2015

09:09 PM Ruby trunk Bug #10708: In a function call, double splat of an empty hash still calls the function with an ar...
I think I got bitten by markdown's syntax actually, all my * * got replaced, so s/others/**others/g
09:07 PM Ruby trunk Bug #10708: In a function call, double splat of an empty hash still calls the function with an ar...
Tsuyoshi Sawada wrote:
> Do you mean `**others`?
Yes, sorry for the typo
03:49 PM Ruby trunk Bug #10708 (Assigned): In a function call, double splat of an empty hash still calls the function...
Consider this:
~~~ruby
def foo; end
foo(*[]) #Splatting an empty list is ok
foo(**{}) #Double splatting an empt...

12/03/2012

02:23 AM Ruby trunk Bug #7498 (Rejected): Optparse does not complete argument when used with :REQUIRED
#!/usr/bin/env ruby
require 'optparse'
OptionParser.new do |opts|
opts.on(:REQUIRED, "--bug", ["foo", "bar"]) ...

Also available in: Atom