(Not documented)
# File lib/tyrant_manager/util.rb, line 3 def ip_of( hostname ) hostname = Socket.gethostname if %w[ localhost 0.0.0.0 ].include?( hostname ) addr_info = Socket.getaddrinfo( hostname, 1978, "AF_INET" ) return addr_info.first[3] end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.