Module | Moped::Connection::Socket::Connectable |
In: |
lib/moped/connection/socket/connectable.rb
|
host | [R] | |
port | [R] |
Bring in the class methods when included.
@example Extend the class methods.
Connectable.included(class)
@param [ Class ] klass The class including the module.
@since 1.3.0
Write to the socket.
@example Write to the socket.
socket.write(data)
@param [ Object ] args The data to write.
@return [ Integer ] The number of bytes written.
@since 1.0.0