method
host
v6.1.7.7 -
Show latest stable
- Class:
Rails::Command::ServerCommand
host()private
No documentation available.
# 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