Flowdock
method

host

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ServerCommand
host() private

No documentation

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

Hide source
# File railties/lib/rails/commands/server/server_command.rb, line 216
        def host
          if options[:binding]
            options[:binding]
          else
            default_host = environment == "development" ? "localhost" : "0.0.0.0"

            ENV.fetch("BINDING", default_host)
          end
        end
Register or log in to add new notes.