P
Patrick Li
Hi,
I thought I understood this, but apparently not.
What is this object exactly?
o = class << String; self; end
From my understanding:
p o
and
p String
should output the same thing.
but it doesn't
p o #<Class:String>
p String #String
Thanks for answering such a basic question for me.
-Patrick
I thought I understood this, but apparently not.
What is this object exactly?
o = class << String; self; end
From my understanding:
p o
and
p String
should output the same thing.
but it doesn't
p o #<Class:String>
p String #String
Thanks for answering such a basic question for me.
-Patrick