L
listrecv
I'm having trouble discovering the correct Ruby idiom for this:
I know how to create a second constructor:
def self.from_address(address)
But, how can that constructor call private methods on the object?
I hate to force methods needed by that constructor to be public, just
so it can use it. Is there any solution?
I know how to create a second constructor:
def self.from_address(address)
But, how can that constructor call private methods on the object?
I hate to force methods needed by that constructor to be public, just
so it can use it. Is there any solution?