method

to_s

ruby latest stable - Class: IPAddr
to_s()
public

Returns a string containing the IP address representation.