Method: Vedeu::Distributed::Uri#to_s

Defined in:
lib/vedeu/distributed/uri.rb

#to_sString Also known as: to_str

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns The host and port as a single value.

Examples:

'druby://localhost:21420'

Returns:

  • (String)

    The host and port as a single value.



39
40
41
# File 'lib/vedeu/distributed/uri.rb', line 39

def to_s
  "druby://#{host}:#{port}"
end