In Ruby, if I want to make an instance of a class C, the syntax is
c = C.new
But to define how that instance is initialized I need to make a method
called "initialize", not "new". Like so:
a = "a"
I was curious, is there a way to do the initialization in a method "C.new"
without defining an "initialize" method?
Something like this:
# return new instance of C
Why? Mostly curiousity. Ever since I've noticed the assymmetry between ...