General

Profile

ernie (Ernie Miller)

Issues

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

Activity

11/30/2012

10:51 PM Ruby Bug #7475: Unexpected behavior of Module#append_features on singleton class
Another quick set of observations from this morning:
class Baz
class << self
Const = 'Const'
@@foo = 'foo'
end
end
Baz.class_variables.inspect # => [:@@foo]
Baz.singleton_class.clas...
ernie (Ernie Miller)
10:56 AM Ruby Bug #7475 (Closed): Unexpected behavior of Module#append_features on singleton class
=begin
A more involved explanation is available at ((<URL:http://erniemiller.org/2012/11/29/ruby-tidbit-include-vs-extend-with-module-class-variables/>))
In short, the handling of class variables (and constants) when a module is exte...
ernie (Ernie Miller)

09/07/2011

08:51 AM Ruby Bug #5288 (Rejected): Method#to_proc Procs have "sticky" bindings
Please see the attached sample script (or view the gist at https://gist.github.com/1197634).
It would appear that a Proc object that is obtained via Method#to_proc behaves unlike other Procs when used with instance_exec. I'm not entir...
ernie (Ernie Miller)

05/13/2010

05:21 AM Ruby Bug #3283: SystemStackError Backtrace returns String not Array
=begin
Seconded. Returning two different types of data in a backtrace needlessly complicates error handling code.
=end
ernie (Ernie Miller)

04/03/2010

09:46 AM Ruby Bug #3083: Regression in 1.9.2 splat handling?
=begin
Looks like it's working now. Don't see any changes to the source that should have affected it so I'm going to assume it was an RVM glitch on my end. Please close this ticket. Thanks!
=end
ernie (Ernie Miller)
04:42 AM Ruby Bug #3083 (Rejected): Regression in 1.9.2 splat handling?
=begin
It appears as though the handling of splats has reverted back to the 1.8.7 way of doing things sometime between 1.9.1 and now. Was this documented somewhere, or is it a bug? In 1.9.1...

Neo:meta_search emiller$ ruby -v
rub...
ernie (Ernie Miller)

Also available in: Atom