std::net::bits.to_stream should be removed, as it's no longer necessary.
This method can be replaced by a static method called
from_socket, paired up with an instance method called
to_stream was introduced we did not yet support static methods, so there was no better option. This change should be made for both
I was never too sure about introducing a custom pair of a static and initialiser method, but there's nothing inherently wrong with this approach; they are just methods like any other.
The Ruby compiler only verifies the assignment of all attributes in the
init method. This is not an issue for now, but the self-hosting compiler will need to be a bit smarter about this.