yugui
yugui
Metaclass hierarchy 1.8 (1)
Metaclass hierarchy
on Ruby 1.8,
after you access to the metaclass of metaclass of Foo and the one of Bar.
class Foo; end
class Bar < Foo; end
foo1 = Foo.new
bar1 = Bar.new
bar2 = Bar.new
class << bar2; end
class << (class << Foo; self end); end
class << (class << Bar; self end); end
661
views
1
fave
0
comments
Uploaded on May 28, 2009
Taken on May 27, 2009
Metaclass hierarchy 1.8 (1)
Metaclass hierarchy
on Ruby 1.8,
after you access to the metaclass of metaclass of Foo and the one of Bar.
class Foo; end
class Bar < Foo; end
foo1 = Foo.new
bar1 = Bar.new
bar2 = Bar.new
class << bar2; end
class << (class << Foo; self end); end
class << (class << Bar; self end); end
661
views
1
fave
0
comments
Uploaded on May 28, 2009
Taken on May 27, 2009