1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
ContentFor = Class.new x = ContentFor.new puts x.class.object_id ContentFor = Class.new y = ContentFor.new puts x.class.object_id puts x.class.name puts y.class.object_id puts y.class.name puts ContentFor.object_id
1 2 3 4 5 6 7
t.rb:6: warning: already initialized constant ContentFor 537787440 537787440 537787400 ContentFor 537787400