General

Profile

ryannevell (Ryan Nevell)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

10/28/2025

05:08 PM Ruby Bug #21652 (Closed): Marshal#dump documentation out-of-date/unclear regarding Data class
With the introduction of the `Data` class in Ruby 3.2, the `Marshal#dump` documentation is confusing since it claims that "Marshal can’t dump ... an instance of ... Data". It is even cross-linked to the new `Data` class. However, and tha... ryannevell (Ryan Nevell)

01/19/2021

09:52 PM Ruby Bug #17563: FrozenError raised from Module#const_set when receiver is not frozen
I've tried simply replacing `rb_ivar_set` with `ivar_set`, which skips the freeze check, but otherwise behaves the same. Since the instance variable `"__tmp_classpath__"` really looks like an internal property, modifying the frozen objec... ryannevell (Ryan Nevell)
08:03 PM Ruby Bug #17563 (Closed): FrozenError raised from Module#const_set when receiver is not frozen
The following code executed without error on Ruby 2.7.1 and many earlier 2.* versions. The behavior has changed on Ruby 3.0.0 and now raises a Frozen Error:
```
% ruby -e 'Module.new.const_set(:Foo, Class.new.freeze)'
-e:1:in `const...
ryannevell (Ryan Nevell)

08/17/2016

09:08 PM Ruby Feature #8960: Add Exception#backtrace_locations
Is there any way to re-raise an exception and propagate `backtrace_locations`? When I want to trap an exception and provide a different exception class and error message, I'm used to doing something like:
~~~ ruby
rescue => e
rais...
ryannevell (Ryan Nevell)

01/16/2015

07:46 PM Ruby Bug #10748 (Closed): Array#flatten(N) calls to_ary on the (N+1)-level objects
~~~
$ cat flatten.rb
class Foo
def respond_to?(name, include_private = true)
puts "respond_to?(#{name})"
super
end
def method_missing(name, *args)
puts "method_missing(#{name})"
super
end
end
puts ...
ryannevell (Ryan Nevell)

Also available in: Atom