You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll have to be careful trying to do this. "IP.new" is overridden, so that it actually creates and returns an instance of IP::V4 or IP::V6 depending on the arguments given. It wasn't really designed to be extended the way you're trying.
Hi,
thanks for sharing this great library!
I'm trying to inherit from IP but I've got problems with the constructor:
The code:
I don't know what I'm doing wrong, could you help me please?
The text was updated successfully, but these errors were encountered: