General

Profile

0x0dea (D.E. Akers)

Issues

Activity

02/29/2016

07:35 PM Ruby trunk Bug #12128: Strings in `ARGV` are frozen
Be advised that you can say `ARGV.map!(&:+@)` if you really want to modify the elements in-place, but that's probably...

12/31/2015

04:24 AM Ruby trunk Bug #11929: No programatic way to check ability to dup/clone an object
[This demonstration](https://eval.in/495653) should clarify the observed behavior. `Symbol`, `Fixnum`, and indeed eve...

12/20/2015

01:31 AM Ruby trunk Bug #11850 (Closed): `define_method(:foo, &:bar)` segfaults irrespective of location or arguments.
`define_method(:foo, :bar.to_proc)` behaves as it did in previous versions of Ruby.

11/19/2015

11:41 PM Ruby trunk Feature #11717: Object#trap -- pass object to block and return result
Victor Shepelev wrote:
> Even if `#trap` will be implemented as a simple alias of `#instance_eval`...
If you did ...
10:49 PM Ruby trunk Feature #11717: Object#trap -- pass object to block and return result
You're looking for `#instance_eval`:
```ruby
'foo'.instance_eval { |obj| obj.size } # => 3
```

11/11/2015

06:20 AM Ruby trunk Bug #11674: `local_variables` returns buffer-overflow garbage with methods with > 10 keyword argu...
Well, this is very strange indeed. The problem does start at 11 keyword arguments and continues to present all the wa...

11/05/2015

10:09 PM Ruby trunk Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I've come to realize that it might not be entirely clear what is being proposed. In essence, all of the following exa...
02:39 AM Ruby trunk Bug #11655: Can't refine Object.const_missing
Nobu? Given the behavior observed above, I must maintain that this is a bug worth reopening. If I am mistaken in that...

11/04/2015

02:11 PM Ruby trunk Bug #11655: Can't refine Object.const_missing
Nobuyoshi Nakada wrote:
> It's a spec.
> Refinements targets only explicit invocations.
How does that square wit...
12:32 PM Ruby trunk Bug #11655 (Rejected): Can't refine Object.const_missing
```ruby
TracePoint.new(:c_call) { |tp|
if tp.method_id == :const_missing
puts "top-level const_missing is #{...

Also available in: Atom