General

Profile

evilbrain (Andy Bogdanov)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

03/14/2011

11:35 PM Ruby Bug #4502 (Closed): strange Module.new behaviour
=begin
First I create a proc:
p = proc {
self::X = Class.new
def self.X
X.new
end
}
Then I create a module:
A = Module.new(&p)
puts A.X # => #<A::X:0x9c2e774>
Then I create another module:
B = Module.new(&p...
evilbrain (Andy Bogdanov)

07/18/2009

06:27 PM Ruby Feature #1786 (Closed): unexpected #inspect behaviour
=begin
It's said in the documentation that #inspect, if not overridden should use #to_s. Instead of that, when not overridden, #inspect uses #to_s only until the first instance variable assignment, after that it is overridden by interpr...
evilbrain (Andy Bogdanov)

Also available in: Atom