Flowdock
getservername() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/webrick/utils.rb, line 49
    def getservername
      host = Socket::gethostname
      begin
        Socket::gethostbyname(host)[0]
      rescue
        host
      end
    end
Register or log in to add new notes.