D
Deepak Gole
[Note: parts of this message were removed to make it a legal post.]
Hello,
I didn't understand the following concept.
*class Universe
private
def self.private_method
p "=========Hello world======="
end
end
Universe.**private_method** => "=========Hello world======="
*
How come I get the o/p ( *"=========Hello world=======" * ) as I have
declared that method as private.
Thanks in advance
Deepak Gole (DG)
Hello,
I didn't understand the following concept.
*class Universe
private
def self.private_method
p "=========Hello world======="
end
end
Universe.**private_method** => "=========Hello world======="
*
How come I get the o/p ( *"=========Hello world=======" * ) as I have
declared that method as private.
Thanks in advance
Deepak Gole (DG)